Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Certificate ¶ added in v1.4.0
type Certificate struct { Cert *x509.Certificate Pk *rsa.PrivateKey SignedCert []byte SignedPk []byte // contains filtered or unexported fields }
func New ¶ added in v1.4.0
func New(timeProvider *timeprovider.Provider) (*Certificate, error)
func (*Certificate) SelfSign ¶ added in v1.4.0
func (c *Certificate) SelfSign() error
Click to show internal directories.
Click to hide internal directories.