Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCAUsage ¶
func DefaultCAUsage() specs.CertificateKeyUsages
DefaultCAUsage gets the default key usages for a certificate authority
func GenerateCertificate ¶
func GenerateCertificate(request *specs.CertificateRequest) (specs.Certificate, error)
GenerateCertificate generates a certificate from a request
func GenerateKey ¶
func GenerateKey(request *specs.CertificateKeyRequest) (specs.Key, error)
GenerateKey generates a new key from a key request
func ParseEncodedCertificate ¶
func ParseEncodedCertificate(cert, key []byte) (specs.Certificate, error)
ParseEncodedCertificate parses a certificate and a private key for pem encoded bytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.