DetailedPeerCertificate

Properties

Link copied to clipboard
abstract external var asn1Curve: 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.

Link copied to clipboard
abstract external var bits: Double?

For RSA keys: The RSA bit size.

Link copied to clipboard
abstract external var ca: Boolean

true if a Certificate Authority (CA), false otherwise.

Link copied to clipboard
abstract external var exponent: String?

The RSA exponent, as a string in hexadecimal number notation.

Link copied to clipboard
abstract external var ext_key_usage: ReadonlyArray<String>?

The extended key usage, a set of OIDs.

Link copied to clipboard
abstract external var fingerprint: String

The SHA-1 digest of the DER encoded certificate. It is returned as a : separated hexadecimal string.

Link copied to clipboard
abstract external var fingerprint256: String

The SHA-256 digest of the DER encoded certificate. It is returned as a : separated hexadecimal string.

Link copied to clipboard
abstract external var fingerprint512: String

The SHA-512 digest of the DER encoded certificate. It is returned as a : separated hexadecimal string.

Link copied to clipboard
abstract external var infoAccess: Dict<ReadonlyArray<String>>?

An array describing the AuthorityInfoAccess, used with OCSP.

Link copied to clipboard
abstract external var issuer: Certificate

The certificate issuer, described in the same terms as the subject.

Link copied to clipboard

The issuer certificate object. For self-signed certificates, this may be a circular reference.

Link copied to clipboard
abstract external var modulus: String?

The RSA modulus, as a hexadecimal string.

Link copied to clipboard
abstract external var nistCurve: String?

The NIST name for the elliptic curve, if it has one (not all well-known curves have been assigned names by NIST).

Link copied to clipboard
abstract external var pubkey: NonSharedBuffer?

The public key.

Link copied to clipboard
abstract external var raw: NonSharedBuffer

The DER encoded X.509 certificate data.

Link copied to clipboard
abstract external var serialNumber: String

The certificate serial number, as a hex string.

Link copied to clipboard
abstract external var subject: Certificate

The certificate subject.

Link copied to clipboard
abstract external var subjectaltname: String?

A string containing concatenated names for the subject, an alternative to the subject names.

Link copied to clipboard
abstract external var valid_from: String

The date-time the certificate is valid from.

Link copied to clipboard
abstract external var valid_to: String

The date-time the certificate is valid to.