certificates

package
v0.0.0-...-3ff7f1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL