Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2020 Changes in this version + func EncodeCertificate(certificate []byte) (string, error) + func EncodeKey(key *rsa.PrivateKey) (string, error) + type Authority struct + func Root(commonName string) (*Authority, error) + func (a *Authority) Branch(commonName string) (*Authority, error) + func (a *Authority) EncodeCertificate() (string, error) + func (a *Authority) Leaf(commonName string, alternativeNames []string, expires time.Duration) (*Leaf, error) + type Leaf struct + func (l *Leaf) EncodeCertificate() (string, error) + func (l *Leaf) EncodeKey() (string, error)