Package io.webfolder.cdp.type.security
Class CertificateSecurityState
java.lang.Object
io.webfolder.cdp.type.security.CertificateSecurityState
Details about the security state of the page certificate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPage certificate.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.Protocol name (e.g.Certificate subject name.Certificate valid from date.Certificate valid to (expiration) dateTrue if the certificate has a SHA1 signature in the chain.True if the certificate uses a weak signature aglorithm.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.void
setCertificate
(List<String> certificate) Page certificate.void
setCertificateHasSha1Signature
(Boolean certificateHasSha1Signature) True if the certificate has a SHA1 signature in the chain.void
setCertificateHasWeakSignature
(Boolean certificateHasWeakSignature) True if the certificate uses a weak signature aglorithm.void
setCertificateNetworkError
(String certificateNetworkError) The highest priority network error code, if the certificate has an error.void
Cipher name.void
Name of the issuing CA.void
setKeyExchange
(String keyExchange) Key Exchange used by the connection, or the empty string if not applicable.void
setKeyExchangeGroup
(String keyExchangeGroup) (EC)DH group used by the connection, if applicable.void
TLS MAC.void
setModernSSL
(Boolean modernSSL) True if modern SSLvoid
setObsoleteSslCipher
(Boolean obsoleteSslCipher) True if the connection is using an obsolete SSL cipher.void
setObsoleteSslKeyExchange
(Boolean obsoleteSslKeyExchange) True if the connection is using an obsolete SSL key exchange.void
setObsoleteSslProtocol
(Boolean obsoleteSslProtocol) True if the connection is using an obsolete SSL protocol.void
setObsoleteSslSignature
(Boolean obsoleteSslSignature) True if the connection is using an obsolete SSL signature.void
setProtocol
(String protocol) Protocol name (e.g.void
setSubjectName
(String subjectName) Certificate subject name.void
setValidFrom
(Double validFrom) Certificate valid from date.void
setValidTo
(Double validTo) Certificate valid to (expiration) datetoString()
-
Constructor Details
-
CertificateSecurityState
public CertificateSecurityState()
-
-
Method Details
-
getProtocol
Protocol name (e.g. "TLS 1.2" or "QUIC"). -
setProtocol
Protocol name (e.g. "TLS 1.2" or "QUIC"). -
getKeyExchange
Key Exchange used by the connection, or the empty string if not applicable. -
setKeyExchange
Key Exchange used by the connection, or the empty string if not applicable. -
getKeyExchangeGroup
(EC)DH group used by the connection, if applicable. -
setKeyExchangeGroup
(EC)DH group used by the connection, if applicable. -
getCipher
Cipher name. -
setCipher
Cipher name. -
getMac
TLS MAC. Note that AEAD ciphers do not have separate MACs. -
setMac
TLS MAC. Note that AEAD ciphers do not have separate MACs. -
getCertificate
Page certificate. -
setCertificate
Page certificate. -
getSubjectName
Certificate subject name. -
setSubjectName
Certificate subject name. -
getIssuer
Name of the issuing CA. -
setIssuer
Name of the issuing CA. -
getValidFrom
Certificate valid from date. -
setValidFrom
Certificate valid from date. -
getValidTo
Certificate valid to (expiration) date -
setValidTo
Certificate valid to (expiration) date -
getCertificateNetworkError
The highest priority network error code, if the certificate has an error. -
setCertificateNetworkError
The highest priority network error code, if the certificate has an error. -
isCertificateHasWeakSignature
True if the certificate uses a weak signature aglorithm. -
setCertificateHasWeakSignature
True if the certificate uses a weak signature aglorithm. -
isCertificateHasSha1Signature
True if the certificate has a SHA1 signature in the chain. -
setCertificateHasSha1Signature
True if the certificate has a SHA1 signature in the chain. -
isModernSSL
True if modern SSL -
setModernSSL
True if modern SSL -
isObsoleteSslProtocol
True if the connection is using an obsolete SSL protocol. -
setObsoleteSslProtocol
True if the connection is using an obsolete SSL protocol. -
isObsoleteSslKeyExchange
True if the connection is using an obsolete SSL key exchange. -
setObsoleteSslKeyExchange
True if the connection is using an obsolete SSL key exchange. -
isObsoleteSslCipher
True if the connection is using an obsolete SSL cipher. -
setObsoleteSslCipher
True if the connection is using an obsolete SSL cipher. -
isObsoleteSslSignature
True if the connection is using an obsolete SSL signature. -
setObsoleteSslSignature
True if the connection is using an obsolete SSL signature. -
toString
-