Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Certificate ¶
type Certificate struct { Cert *x509.Certificate Key *rsa.PrivateKey Thumbprint string RawCert []byte RawKey []byte }
Certificate contains a certificate and RSA key pair.
func CreateCertificate ¶
func CreateCertificate(options ...CreateCertificateOption) (Certificate, error)
CreateCertificate creates a new certificate and RSA key pair.
type CreateCertificateOption ¶
type CreateCertificateOption func(o *CreateCertificateOptions)
CreateCertificateOption is a function that sets options for creating a certificate.
type CreateCertificateOptions ¶
CreateCertificateOptions contains options for creating a certificate.
Click to show internal directories.
Click to hide internal directories.