Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateInfo ¶
type CertificateInfo struct { SubjectName string `json:"subjectName,omitempty"` Organization []string `json:"organization,omitempty"` IssuerName string `json:"issuerName,omitempty"` IssuerOrganization []string `json:"issuerOrganization,omitempty"` NotAfter time.Time `json:"notAfter,omitempty"` NotBefore time.Time `json:"notBefore,omitempty"` SerialNumber string `json:"serialNumber,omitempty"` }
func ParseCertificate ¶
func ParseCertificate(cert *x509.Certificate) *CertificateInfo
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func (*Error) Chains ¶
func (e *Error) Chains() [][]*x509.Certificate
func (*Error) LeafCertificateInfo ¶
func (e *Error) LeafCertificateInfo() *CertificateInfo
Click to show internal directories.
Click to hide internal directories.