puppeteer/new-docs/puppeteer.protocol.security.certificatesecuritystate.md
2020-07-13 14:01:35 +01:00

3.4 KiB

Home > puppeteer > Protocol > Security > CertificateSecurityState

Protocol.Security.CertificateSecurityState interface

Details about the security state of the page certificate.

Signature:

export interface CertificateSecurityState 

Properties

Property Type Description
certificate string[] Page certificate.
certificateHasSha1Signature boolean True if the certificate has a SHA1 signature in the chain.
certificateHasWeakSignature boolean True if the certificate uses a weak signature aglorithm.
certificateNetworkError string The highest priority network error code, if the certificate has an error.
cipher string Cipher name.
issuer string Name of the issuing CA.
keyExchange string Key Exchange used by the connection, or the empty string if not applicable.
keyExchangeGroup string (EC)DH group used by the connection, if applicable.
mac string TLS MAC. Note that AEAD ciphers do not have separate MACs.
modernSSL boolean True if modern SSL
obsoleteSslCipher boolean True if the connection is using an obsolete SSL cipher.
obsoleteSslKeyExchange boolean True if the connection is using an obsolete SSL key exchange.
obsoleteSslProtocol boolean True if the connection is using an obsolete SSL protocol.
obsoleteSslSignature boolean True if the connection is using an obsolete SSL signature.
protocol string Protocol name (e.g. "TLS 1.2" or "QUIC").
subjectName string Certificate subject name.
validFrom Network.TimeSinceEpoch Certificate valid from date.
validTo Network.TimeSinceEpoch Certificate valid to (expiration) date