CertificateParser

Parses X.509 certificates to extract CT-relevant information.

Supports extracting embedded SCTs, detecting precertificates, and reading SubjectPublicKeyInfo.

Functions

Link copied to clipboard

Extract embedded SCTs from a certificate's SCT extension.

Link copied to clipboard

Extract the SubjectPublicKeyInfo bytes from a certificate.

Link copied to clipboard

Check if a certificate is a precertificate (has CT poison extension).

Link copied to clipboard

Parse an X.509 certificate from DER bytes and extract the TBS certificate element, extensions, and signature.