Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { PreCert bool `json:",omitempty"` Seen time.Time `json:",omitempty"` Signature []byte `json:",omitempty"` // SHA256 signature, searchable on crt.sh Issuer Identity `json:",omitempty"` Subject Identity `json:",omitempty"` DNSNames []string `json:",omitempty"` EmailAddresses []string `json:",omitempty"` IPAddresses []string `json:",omitempty"` URIs []string `json:",omitempty"` NotBefore time.Time `json:",omitempty"` NotAfter time.Time `json:",omitempty"` }
func New ¶
func New(cert *certstream.Certificate) (jsoncert *Certificate)
type Identity ¶
type Identity struct { Country string `json:",omitempty"` Organization string `json:",omitempty"` OrganizationalUnit string `json:",omitempty"` Locality string `json:",omitempty"` Province string `json:",omitempty"` StreetAddress string `json:",omitempty"` PostalCode string `json:",omitempty"` SerialNumber string `json:",omitempty"` CommonName string `json:",omitempty"` }
Click to show internal directories.
Click to hide internal directories.