Documentation ¶
Index ¶
- func EncodeCSR(csr []byte) []byte
- func NewCACertificate(key crypto.Signer, validFrom time.Time, duration time.Duration, isCA bool) (*x509.Certificate, error)
- func NewCertificateRequest(key crypto.Signer, subject pkix.Name) ([]byte, error)
- func NewKeyProvider(cfg Config) keyprovider.KeyProvider
- type Config
- type SignerError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCACertificate ¶
func NewCertificateRequest ¶
func NewKeyProvider ¶
func NewKeyProvider(cfg Config) keyprovider.KeyProvider
Types ¶
type Config ¶ added in v0.2.0
type Config struct { KnownSigners []string AddSignerError SignerError ProvisionSignerError SignerError }
type SignerError ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.