parseCertificate

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

Return

A ParsedCertificate with the parsed structure.

Parameters

derBytes

The complete certificate DER encoding.

Throws

if the certificate structure is invalid.