Class CertificateSecurityState
java.lang.Object
org.openqa.selenium.devtools.v126.security.model.CertificateSecurityState
Details about the security state of the page certificate.
-
Constructor Summary
ConstructorsConstructorDescriptionCertificateSecurityState
(String protocol, String keyExchange, Optional<String> keyExchangeGroup, String cipher, Optional<String> mac, List<String> certificate, String subjectName, String issuer, TimeSinceEpoch validFrom, TimeSinceEpoch validTo, Optional<String> certificateNetworkError, Boolean certificateHasWeakSignature, Boolean certificateHasSha1Signature, Boolean modernSSL, Boolean obsoleteSslProtocol, Boolean obsoleteSslKeyExchange, Boolean obsoleteSslCipher, Boolean obsoleteSslSignature) -
Method Summary
Modifier and TypeMethodDescriptionPage certificate.True if the certificate has a SHA1 signature in the chain.True if the certificate uses a weak signature algorithm.The highest priority network error code, if the certificate has an error.Cipher name.Name of the issuing CA.Key Exchange used by the connection, or the empty string if not applicable.(EC)DH group used by the connection, if applicable.getMac()
TLS MAC.True if modern SSLTrue if the connection is using an obsolete SSL cipher.True if the connection is using an obsolete SSL key exchange.True if the connection is using an obsolete SSL protocol.True if the connection is using an obsolete SSL signature.Protocol name (e.g.Certificate subject name.Certificate valid from date.Certificate valid to (expiration) date
-
Constructor Details
-
CertificateSecurityState
public CertificateSecurityState(String protocol, String keyExchange, Optional<String> keyExchangeGroup, String cipher, Optional<String> mac, List<String> certificate, String subjectName, String issuer, TimeSinceEpoch validFrom, TimeSinceEpoch validTo, Optional<String> certificateNetworkError, Boolean certificateHasWeakSignature, Boolean certificateHasSha1Signature, Boolean modernSSL, Boolean obsoleteSslProtocol, Boolean obsoleteSslKeyExchange, Boolean obsoleteSslCipher, Boolean obsoleteSslSignature)
-
-
Method Details
-
getProtocol
Protocol name (e.g. "TLS 1.2" or "QUIC"). -
getKeyExchange
Key Exchange used by the connection, or the empty string if not applicable. -
getKeyExchangeGroup
(EC)DH group used by the connection, if applicable. -
getCipher
Cipher name. -
getMac
TLS MAC. Note that AEAD ciphers do not have separate MACs. -
getCertificate
Page certificate. -
getSubjectName
Certificate subject name. -
getIssuer
Name of the issuing CA. -
getValidFrom
Certificate valid from date. -
getValidTo
Certificate valid to (expiration) date -
getCertificateNetworkError
The highest priority network error code, if the certificate has an error. -
getCertificateHasWeakSignature
True if the certificate uses a weak signature algorithm. -
getCertificateHasSha1Signature
True if the certificate has a SHA1 signature in the chain. -
getModernSSL
True if modern SSL -
getObsoleteSslProtocol
True if the connection is using an obsolete SSL protocol. -
getObsoleteSslKeyExchange
True if the connection is using an obsolete SSL key exchange. -
getObsoleteSslCipher
True if the connection is using an obsolete SSL cipher. -
getObsoleteSslSignature
True if the connection is using an obsolete SSL signature.
-