# Interface DetailedPeerCertificate

interface DetailedPeerCertificate {
asn1Curve?: string;
bits?: number;
ca: boolean;
exponent?: string;
ext_key_usage?: string[];
fingerprint: string;
fingerprint256: string;
fingerprint512: string;
infoAccess?: Dict<string[]>;
issuer: Certificate;
issuerCertificate: DetailedPeerCertificate;
modulus?: string;
nistCurve?: string;
pubkey?: Buffer;
raw: Buffer;
serialNumber: string;
subject: Certificate;
subjectaltname?: string;
valid_from: string;
valid_to: string;
}

#### Hierarchy (view full)

- PeerCertificate
  - DetailedPeerCertificate

- Defined in node_modules/@types/node/tls.d.ts:133

#####
Index

### Properties

asn1Curve?
bits?
ca
exponent?
ext_key_usage?
fingerprint
fingerprint256
fingerprint512
infoAccess?
issuer
issuerCertificate
modulus?
nistCurve?
pubkey?
raw
serialNumber
subject
subjectaltname?
valid_from
valid_to

## Properties

### `Optional` asn1Curve

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.

Inherited from PeerCertificate.asn1Curve

- Defined in node_modules/@types/node/tls.d.ts:126

### `Optional` bits

bits?: number

For RSA keys: The RSA bit size.

For EC keys: The key size in bits.

Inherited from PeerCertificate.bits

- Defined in node_modules/@types/node/tls.d.ts:106

### ca

ca: boolean

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

#### Since

v18.13.0

Inherited from PeerCertificate.ca

- Defined in node_modules/@types/node/tls.d.ts:48

### `Optional` exponent

exponent?: string

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

Inherited from PeerCertificate.exponent

- Defined in node_modules/@types/node/tls.d.ts:110

### `Optional` ext_key_usage

ext_key_usage?: string[]

The extended key usage, a set of OIDs.

Inherited from PeerCertificate.ext_key_usage

- Defined in node_modules/@types/node/tls.d.ts:91

### fingerprint

fingerprint: string

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

Inherited from PeerCertificate.fingerprint

- Defined in node_modules/@types/node/tls.d.ts:77

### fingerprint256

fingerprint256: string

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

Inherited from PeerCertificate.fingerprint256

- Defined in node_modules/@types/node/tls.d.ts:82

### fingerprint512

fingerprint512: string

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

Inherited from PeerCertificate.fingerprint512

- Defined in node_modules/@types/node/tls.d.ts:87

### `Optional` infoAccess

infoAccess?: Dict<string[]>

An array describing the AuthorityInfoAccess, used with OCSP.

Inherited from PeerCertificate.infoAccess

- Defined in node_modules/@types/node/tls.d.ts:100

### issuer

issuer: Certificate

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

Inherited from PeerCertificate.issuer

- Defined in node_modules/@types/node/tls.d.ts:60

### issuerCertificate

issuerCertificate: DetailedPeerCertificate

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

- Defined in node_modules/@types/node/tls.d.ts:138

### `Optional` modulus

modulus?: string

The RSA modulus, as a hexadecimal string.

Inherited from PeerCertificate.modulus

- Defined in node_modules/@types/node/tls.d.ts:114

### `Optional` nistCurve

nistCurve?: string

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

Inherited from PeerCertificate.nistCurve

- Defined in node_modules/@types/node/tls.d.ts:131

### `Optional` pubkey

pubkey?: Buffer

The public key.

Inherited from PeerCertificate.pubkey

- Defined in node_modules/@types/node/tls.d.ts:118

### raw

raw: Buffer

The DER encoded X.509 certificate data.

Inherited from PeerCertificate.raw

- Defined in node_modules/@types/node/tls.d.ts:52

### serialNumber

serialNumber: string

The certificate serial number, as a hex string.

Inherited from PeerCertificate.serialNumber

- Defined in node_modules/@types/node/tls.d.ts:72

### subject

subject: Certificate

The certificate subject.

Inherited from PeerCertificate.subject

- Defined in node_modules/@types/node/tls.d.ts:56

### `Optional` subjectaltname

subjectaltname?: string

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

Inherited from PeerCertificate.subjectaltname

- Defined in node_modules/@types/node/tls.d.ts:96

### valid_from

valid_from: string

The date-time the certificate is valid from.

Inherited from PeerCertificate.valid_from

- Defined in node_modules/@types/node/tls.d.ts:64

### valid_to

valid_to: string

The date-time the certificate is valid to.

Inherited from PeerCertificate.valid_to

- Defined in node_modules/@types/node/tls.d.ts:68