package
0.0.0-20250220111111-81faaa5d65da
Repository: https://github.com/transparency-dev/static-ct.git
Documentation: pkg.go.dev

# Functions

CertificateFromPEM takes a certificate in PEM format and returns the corresponding x509.Certificate object.
CertificatesFromPEM parses one or more certificates from the given PEM data.
CertificateToString generates a string describing the given certificate.
ExtractSCT deserializes an SCT from a TLS-encoded SCT.
GeneralNamesToString creates a string description of an x509.GeneralNames object.
MarshalSCTsIntoSCTList serializes SCTs into SCT list.
NameToString creates a string description of a pkix.Name object.
NewPEMCertPool creates a new, empty, instance of PEMCertPool.
OIDForStandardExtension indicates whether oid identifies a standard extension.
OIDInExtensions checks whether the extension identified by oid is present in extensions and returns how many times it occurs together with an indication of whether any of them are marked critical.
OtherNameToString creates a string description of an x509.OtherName object.
ParseSCTsFromCertificate parses any SCTs that are embedded in the certificate provided.
ParseSCTsFromSCTList parses each of the SCTs contained within an SCT list.
TODO(phboneff): inline / delete this ReadPossiblePEMFile loads data from a file which may be in DER format or may be in PEM format (with the given blockname).

# Structs

PEMCertPool is a wrapper / extension to x509.CertPool.