Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertInfo ¶
type CertInfo struct { CommonName string `json:"commonName"` DaysUntilExpiry int `json:"daysUntilExpiry"` Digest string `json:"digest"` DNSNames []string `json:"dnsNames"` Issuer string `json:"issuer"` NotValidAfter string `json:"notValidAfter"` NotValidBefore string `json:"notValidBefore"` SerialNumber big.Int `json:"serialNumber"` }
A CertInfo gives basic information about an X.509 certificate
type Pins ¶
type Pins struct { BLAKE2s256 string `json:"blake2s256"` BLAKE2b256 string `json:"blake2b256"` SHA256 string `json:"sha256"` SHA384 string `json:"sha384"` SHA512 string `json:"sha512"` }
Pins consists of various Base64-encoded hashes
type Request ¶
type Request struct { Date time.Time `json:"date"` Host string `json:"host"` IP string `json:"ip"` Port int `json:"port"` NameServer string `json:"nameserver"` }
A Request provides meta information about the query
Click to show internal directories.
Click to hide internal directories.