Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainsEntry ¶
type Entry ¶
type Entry struct { Data Data `json:"data"` MessageType string `json:"message_type"` // contains filtered or unexported fields }
func (*Entry) JSON ¶
JSON returns the json encoded Entry as byte slice and caches it for later access.
func (*Entry) JSONDomains ¶
JSONDomains returns the json encoded domains (DomainsEntry) as byte slice.
func (*Entry) JSONLite ¶
JSONLite does the same as JSON() but removes the chain and cert's DER representation.
func (*Entry) JSONLiteNoCache ¶
JSONLiteNoCache does the same as JSONNoCache() but removes the chain and cert's DER representation.
func (*Entry) JSONNoCache ¶
JSONNoCache returns the json encoded Entry as byte slice without caching it.
type Extensions ¶
type Extensions struct { AuthorityInfoAccess *string `json:"authorityInfoAccess,omitempty"` AuthorityKeyIdentifier *string `json:"authorityKeyIdentifier,omitempty"` BasicConstraints *string `json:"basicConstraints,omitempty"` CertificatePolicies *string `json:"certificatePolicies,omitempty"` CtlSignedCertificateTimestamp *string `json:"ctlSignedCertificateTimestamp,omitempty"` ExtendedKeyUsage *string `json:"extendedKeyUsage,omitempty"` KeyUsage *string `json:"keyUsage,omitempty"` SubjectAltName *string `json:"subjectAltName,omitempty"` SubjectKeyIdentifier *string `json:"subjectKeyIdentifier,omitempty"` CTLPoisonByte bool `json:"ctlPoisonByte,omitempty"` }
type LeafCert ¶
type LeafCert struct { AllDomains []string `json:"all_domains"` AsDER string `json:"as_der,omitempty"` Extensions Extensions `json:"extensions"` Fingerprint string `json:"fingerprint"` SHA1 string `json:"sha1"` SHA256 string `json:"sha256"` NotAfter int64 `json:"not_after"` NotBefore int64 `json:"not_before"` SerialNumber string `json:"serial_number"` SignatureAlgorithm string `json:"signature_algorithm"` Subject Subject `json:"subject"` Issuer Subject `json:"issuer"` IsCA bool `json:"is_ca"` }
Click to show internal directories.
Click to hide internal directories.