# Functions
DecodeCDP returns list of CDP.
DecodeCDP returns list of CDP.
DefaultSigAlgo returns an appropriate X.509 signature algorithm given the CA's private key.
EncodeCDP returns CRLDP.
EncodeCDP returns CRLDP.
FindAttr returns attribute.
NewKeyRequest returns KeyRequest from given parameters.
NewProvider returns an instance of CSR provider.
Parse takes an incoming certificate request and builds a certificate template from it.
ParseObjectIdentifier returns OID.
ParsePEM takes an incoming certificate request and builds a certificate template from it.
PopulateName has functionality similar to Name, except it fills the fields of the resulting pkix.Name with req's if the subject's corresponding fields are empty.
SetSAN fills template's IPAddresses, EmailAddresses, and DNSNames with the content of SAN, if it is not nil.
SigAlgo returns signature algorithm for the given algorithm name and key size TODO: use oid pkg.
# Constants
CpsQualifierType defines id-qt-cps.
CurveP256 specifies curve P-256 for ESDCA.
CurveP384 specifies curve P-384 for ESDCA.
CurveP521 specifies curve P-521 for ESDCA.
EncryptionKey specifies the purpose of key to be used in encryption/decryption operations.
OneYear duration.
SigningKey specifies the purpose of key to be used in signing/verification operations.
Undefined purpose of key.
UserNoticeQualifierType defines id-qt-unotice.
# Structs
AllowedFields provides booleans for fields in the CSR.
BasicConstraints CSR information RFC 5280, 4.2.1.9.
CertificatePolicy represents the ASN.1 PolicyInformation structure from https://tools.ietf.org/html/rfc3280.html#page-106.
CertificatePolicyQualifier represents a single qualifier from an ASN.1 PolicyInformation structure.
A CertificateRequest encapsulates the API interface to the certificate request functionality.
DistributionPoint defines CDP as per RFC 5280, 4.2.1.14.
DistributionPointName is a part of DistributionPoint.
GeneralNames represents a General Names sequence as defined in RFC 5820 section 4.2.1.6.
KeyRequest contains the algorithm and key size for a new private key.
Provider extends cryptoprov.Crypto functionality to support CSP procesing and certificate signing.
SignRequest stores a signature request, which contains the SAN, the pen-encoded CSR, optional subject information, and the signature profile.
X509Extension represents a raw extension to be included in the certificate.
X509Name contains the SubjectInfo fields.
X509Subject contains the information that should be used to override the subject information when signing a certificate.
# Interfaces
KeyRequestGen contains the algorithm and key size for a new private key.
Signer interface to sign CSR.
# Type aliases
Duration represents a period of time, its the same as time.Duration but supports better marshalling from json.
KeyPurpose declares the purpose for keys.
OID is the asn1's ObjectIdentifier, provide a custom JSON marshal / unmarshal.