Versions in this module Expand all Collapse all v1 v1.1.2 Mar 3, 2020 Changes in this version + func CRLToString(crl *x509.CertificateList) string + func CertificateFromPEM(pemBytes []byte) (*x509.Certificate, error) + func CertificateToString(cert *x509.Certificate) string + func CertificatesFromPEM(pemBytes []byte) ([]*x509.Certificate, error) + func ExtractSCT(sctData *x509.SerializedSCT) (*ct.SignedCertificateTimestamp, error) + func Fuzz(data []byte) int + func GeneralNamesToString(gname *x509.GeneralNames) string + func GetIssuer(cert *x509.Certificate, client *http.Client) (*x509.Certificate, error) + func MarshalSCTsIntoSCTList(scts []*ct.SignedCertificateTimestamp) (*x509.SignedCertificateTimestampList, error) + func NameToString(name pkix.Name) string + func OIDForStandardExtension(oid asn1.ObjectIdentifier) bool + func OIDInExtensions(oid asn1.ObjectIdentifier, extensions []pkix.Extension) (int, bool) + func OtherNameToString(other x509.OtherName) string + func ParseSCTsFromCertificate(certBytes []byte) ([]*ct.SignedCertificateTimestamp, error) + func ParseSCTsFromSCTList(sctList *x509.SignedCertificateTimestampList) ([]*ct.SignedCertificateTimestamp, error) + func ReadFileOrURL(target string, client *http.Client) ([]byte, error) + func ReadPossiblePEMFile(filename, blockname string) ([][]byte, error) + func ReadPossiblePEMURL(target, blockname string) ([][]byte, error) + func RevocationReasonToString(reason x509.RevocationReasonCode) string