Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Security.CertificateSecurityState

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Security.CertificateSecurityState
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { CertificateSecurityState } = Protocol.Security;

Details about the security state of the page certificate.

Properties

protocol: string

Protocol name (e.g. "TLS 1.2" or "QUIC").

keyExchange: string

Key Exchange used by the connection, or the empty string if not applicable.

optional
keyExchangeGroup: string

(EC)DH group used by the connection, if applicable.

cipher: string

Cipher name.

optional
mac: string

TLS MAC. Note that AEAD ciphers do not have separate MACs.

certificate: string[]

Page certificate.

subjectName: string

Certificate subject name.

issuer: string

Name of the issuing CA.

validFrom: Network.TimeSinceEpoch

Certificate valid from date.

validTo: Network.TimeSinceEpoch

Certificate valid to (expiration) date

optional
certificateNetworkError: string

The highest priority network error code, if the certificate has an error.

certificateHasWeakSignature: boolean

True if the certificate uses a weak signature aglorithm.

certificateHasSha1Signature: boolean

True if the certificate has a SHA1 signature in the chain.

modernSSL: boolean

True if modern SSL

obsoleteSslProtocol: boolean

True if the connection is using an obsolete SSL protocol.

obsoleteSslKeyExchange: boolean

True if the connection is using an obsolete SSL key exchange.

obsoleteSslCipher: boolean

True if the connection is using an obsolete SSL cipher.

obsoleteSslSignature: boolean

True if the connection is using an obsolete SSL signature.