Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeCertificate ¶
EncodeCertificate PEM encodes a DER certificate.
Types ¶
type Authority ¶
type Authority struct {
// contains filtered or unexported fields
}
Authority represetns a certificate authority.
func (*Authority) EncodeCertificate ¶
EncodeCertificate returns the PEM encoded certificate for the authority.
type Leaf ¶
type Leaf struct {
// contains filtered or unexported fields
}
Leaf represents a leaf node in a certificate chain.
func (*Leaf) EncodeCertificate ¶
EncodeCertificate returns the PEM encoded certificate for the leaf.
Click to show internal directories.
Click to hide internal directories.