# Functions
CreateCertificateAuthority creates Certificate Authority using existing key.
CreateCertificateAuthorityWithOptions creates Certificate Authority using existing key with options.
CreateCertificateHost creates certificate for host.
CreateCertificateSigningRequest sets up a request to create a csr file with the given parameters.
CreateECDSAKey creates a new ECDSA key on the given curve.
CreateEd25519Key creates a new Ed25519 key.
CreateIntermediateCertificateAuthority creates an intermediate CA certificate signed by the given authority.
CreateIntermediateCertificateAuthorityWithOptions creates an intermediate with options.
CreateRSAKey creates a new Key using RSA algorithm.
GenerateSubjectKeyID generates SubjectKeyId used in Certificate Id is 160-bit SHA-1 hash of the value of the BIT STRING subjectPublicKey.
NewCertificateAuthorityInfo creates a new CertifaceAuthorityInfo with the given serial number.
NewCertificateAuthorityInfoFromJSON creates a new CertifaceAuthorityInfo with the given JSON information.
NewCertificateFromDER inits Certificate from DER-format bytes.
NewCertificateFromPEM inits Certificate from PEM-format bytes data should contain at most one certificate.
NewCertificateRevocationListFromDER inits CertificateRevocationList from DER-format bytes.
NewCertificateRevocationListFromPEM inits CertificateRevocationList from PEM-format bytes.
NewCertificateSigningRequestFromDER inits CertificateSigningRequest from DER-format bytes.
NewCertificateSigningRequestFromPEM inits CertificateSigningRequest from PEM-format bytes data should contain at most one certificate.
NewKey returns a new public-private keypair Key type.
NewKeyFromEncryptedPrivateKeyPEM inits Key from encrypted PEM-format private key bytes.
NewKeyFromPrivateKeyPEM inits Key from PEM-format rsa private key bytes.
ParseAndValidateIPs parses a comma-delimited list of IP addresses into an array of IP addresses.
ParseAndValidateURIs parses a comma-delimited list of URIs into an array of url.URLs.
WithPathlenOption will check if the certificate should have `pathlen` or not.
# Structs
Certificate is a wrapper around a x509 Certificate and its DER-formatted bytes.
CertificateAuthorityInfo includes extra information required for CA.
CertificateSigningRequest is a wrapper around a x509 CertificateRequest and its DER-formatted bytes.
CertificateSigningRequest is a wrapper around a x509 CertificateRequest and its DER-formatted bytes.
Key contains a public-private keypair.