Documentation
¶
Overview ¶
Package certdata parses Mozilla NSS certdata.txt files.
This parser is derived from github.com/gwatts/rootcerts/certparse at revision d711a5bdf9bddbbff967bfc4bb018fe0e748fae8.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct {
Label string
DER []byte
ServerTrust Trust
ServerDistrustAfter *time.Time
}
Certificate contains a certificate and its server-authentication metadata.
func ReadCertificates ¶
func ReadCertificates(from io.Reader) ([]Certificate, error)
ReadCertificates parses all certificate objects and associates their server-authentication trust objects by Mozilla's certificate hash.
Click to show internal directories.
Click to hide internal directories.