PeerCertificate

sealed external interface PeerCertificate(source)

Inheritors

Properties

Link copied to clipboard
abstract 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 var bits: Double?

For RSA keys: The RSA bit size.

Link copied to clipboard
abstract var ca: Boolean

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

Link copied to clipboard
abstract var exponent: String?

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

Link copied to clipboard

The extended key usage, a set of OIDs.

Link copied to clipboard
abstract 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 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 var fingerprint512: String

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

Link copied to clipboard

An array describing the AuthorityInfoAccess, used with OCSP.

Link copied to clipboard
abstract var issuer: Certificate

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

Link copied to clipboard
abstract var modulus: String?

The RSA modulus, as a hexadecimal string.

Link copied to clipboard
abstract 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 var pubkey: Buffer?

The public key.

Link copied to clipboard
abstract var raw: Buffer

The DER encoded X.509 certificate data.

Link copied to clipboard
abstract var serialNumber: String

The certificate serial number, as a hex string.

Link copied to clipboard
abstract var subject: Certificate

The certificate subject.

Link copied to clipboard
abstract var subjectaltname: String?

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

Link copied to clipboard
abstract var valid_from: String

The date-time the certificate is valid from.

Link copied to clipboard
abstract var valid_to: String

The date-time the certificate is valid to.