Documentation ¶
Index ¶
- func CreateCert(priv interface{}, extKeyUsage x509.ExtKeyUsage, notBefore, notAfter time.Time, ...) (*bytes.Buffer, error)
- func CreateCertValidity(validFrom string, validFor time.Duration) (time.Time, time.Time, error)
- func EncodePrivateKey(priv interface{}) (*bytes.Buffer, error)
- func GeneratePrivateKey(algorithm string) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCert ¶
func CreateCertValidity ¶
func EncodePrivateKey ¶
func GeneratePrivateKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.