Versions in this module Expand all Collapse all v1 v1.6.4 Jun 2, 2022 Changes in this version + func ParseCSRFile(csrFile string) (*x509.CertificateRequest, error) + func ParseCSRPEM(csrPEM []byte) (*x509.CertificateRequest, error) + type Certificate struct + AKI string + Issuer Name + NotAfter time.Time + NotBefore time.Time + RawPEM string + SANs []string + SKI string + SerialNumber string + SignatureAlgorithm string + Subject Name + func ParseCertificate(cert *x509.Certificate) *Certificate + func ParseCertificateDomain(domain string) (cert *Certificate, err error) + func ParseCertificateFile(certFile string) (*Certificate, error) + func ParseCertificatePEM(certPEM []byte) (*Certificate, error) + func ParseSerialNumber(serial, aki string, dbAccessor certdb.Accessor) (*Certificate, error) + type Name struct + CommonName string + Country string + Locality string + Names []interface{} + Organization string + OrganizationalUnit string + PostalCode string + Province string + SerialNumber string + StreetAddress string + func ParseName(name pkix.Name) Name