Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cert ¶
type Cert struct { CommonName string `json:"cn"` NotAfter time.Time `json:"not_after"` NotBefore time.Time `json:"not_before"` DNSNames []string `json:"dns_names"` SignatureAlgorithm string `json:"signature_algorithm"` IssuerCommonName string `json:"issuer"` Organizations []string `json:"organizations"` ExpireAfter float64 `json:"expiration"` }
Cert are collections of field
func ParseRemoteCertificate ¶
ParseRemoteCertificate is to return the resulting TLS connection
Click to show internal directories.
Click to hide internal directories.