puppeteer/website/versioned_docs/version-22.6.3/api/puppeteer.securitydetails.md
release-please[bot] a63b8305ac
chore: release main (#12190)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-04-05 13:11:52 +00:00

1.7 KiB

sidebar_label
SecurityDetails

SecurityDetails class

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

Signature:

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

Method

Modifiers

Description

issuer()

The name of the issuer of the certificate.

protocol()

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

subjectAlternativeNames()

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

subjectName()

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

validFrom()

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

validTo()

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