Documentation ¶
Index ¶
- func GenerateCertificate(notBefore time.Time, validityInDays int, privKey crypto.Signer) []byte
- func GenerateCertificateCA(notBefore time.Time, validityInDays int, privKey crypto.Signer) []byte
- func GenerateCertificateEx(notBefore time.Time, privKey crypto.Signer, validityInDays int, isCA bool, ...) []byte
- func GenerateCertificateExt(notBefore time.Time, privKey crypto.Signer, validityInDays int, isCA bool, ...) []byte
- func GenerateRSAKey() *rsa.PrivateKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCertificate ¶ added in v0.15.0
func GenerateCertificateCA ¶ added in v0.16.0
GenerateCertificateCA generates a CA compatible with the spec including ExtKeyUsage
func GenerateCertificateEx ¶
func GenerateCertificateExt ¶ added in v0.16.0
func GenerateRSAKey ¶ added in v0.15.0
func GenerateRSAKey() *rsa.PrivateKey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.