[]
function getCertificateAttrs(certificatePem): X509CertificateAttrs;
Extracts basic attributes from an X.509 certificate in PEM format.
string
The X.509 certificate encoded in PEM format.
A X509CertificateAttrs object containing the parsed certificate attributes.
Will throw an error if the certificate cannot be parsed.