Back to Puppeteer

SecurityDetails class

website/versioned_docs/version-24.40.0/api/puppeteer.securitydetails.md

19.2.21.8 KB
Original Source

SecurityDetails class

The SecurityDetails class represents the security details of a response that was received over a secure connection.

Signature

typescript
export declare class SecurityDetails

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the SecurityDetails class.

Methods

<table><thead><tr><th>

Method

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

<span id="issuer">issuer()</span>

</td><td> </td><td>

The name of the issuer of the certificate.

</td></tr> <tr><td>

<span id="protocol">protocol()</span>

</td><td> </td><td>

The security protocol being used, e.g. "TLS 1.2".

</td></tr> <tr><td>

<span id="subjectalternativenames">subjectAlternativeNames()</span>

</td><td> </td><td>

The list of subject alternative names (SANs) of the certificate.

</td></tr> <tr><td>

<span id="subjectname">subjectName()</span>

</td><td> </td><td>

The name of the subject to which the certificate was issued.

</td></tr> <tr><td>

<span id="validfrom">validFrom()</span>

</td><td> </td><td>

Unix timestamp marking the start of the certificate's validity.

</td></tr> <tr><td>

<span id="validto">validTo()</span>

</td><td> </td><td>

Unix timestamp marking the end of the certificate's validity.

</td></tr> </tbody></table>