Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateInfo ¶
type CertificateInfo struct { Algorithm string `json:"algorithm"` CN string `json:"cn"` Fingerprint string `json:"certFingerprint"` ExpiresAt time.Time `json:"expiresAt"` IssuedAt time.Time `json:"issuedAt"` Issuer string `json:"issuer"` KeySize int `json:"keySize"` SerialNumber string `json:"serialNumber"` SubjectAlternativeNames []string `json:"subjectAlternativeNames"` Version int `json:"version"` }
func Info ¶
func Info(pemCerts, pemKey string) (*CertificateInfo, error)
Click to show internal directories.
Click to hide internal directories.