Properties Jump to heading
Jump to headingca: boolean
true
if a Certificate Authority (CA), false
otherwise.
Jump to headingraw: Buffer
The DER encoded X.509 certificate data.
The certificate subject.
The certificate issuer, described in the same terms as the subject
.
Jump to headingvalid_from: string
The date-time the certificate is valid from.
Jump to headingvalid_to: string
The date-time the certificate is valid to.
Jump to headingserialNumber: string
The certificate serial number, as a hex string.
Jump to headingfingerprint: string
The SHA-1 digest of the DER encoded certificate.
It is returned as a :
separated hexadecimal string.
Jump to headingfingerprint256: string
The SHA-256 digest of the DER encoded certificate.
It is returned as a :
separated hexadecimal string.
Jump to headingfingerprint512: string
The SHA-512 digest of the DER encoded certificate.
It is returned as a :
separated hexadecimal string.
Jump to headingext_key_usage: string[]
The extended key usage, a set of OIDs.
Jump to headingsubjectaltname: string
A string containing concatenated names for the subject,
an alternative to the subject
names.
Jump to headinginfoAccess: Dict<string[]>
An array describing the AuthorityInfoAccess, used with OCSP.
Jump to headingbits: number
For RSA keys: The RSA bit size.
For EC keys: The key size in bits.
Jump to headingexponent: string
The RSA exponent, as a string in hexadecimal number notation.
Jump to headingmodulus: string
The RSA modulus, as a hexadecimal string.
Jump to headingpubkey: Buffer
The public key.
Jump to headingasn1Curve: string
The ASN.1 name of the OID of the elliptic curve. Well-known curves are identified by an OID. While it is unusual, it is possible that the curve is identified by its mathematical properties, in which case it will not have an OID.
Jump to headingnistCurve: string
The NIST name for the elliptic curve, if it has one (not all well-known curves have been assigned names by NIST).