Class CertificateSecurityState

java.lang.Object
org.openqa.selenium.devtools.v85.security.model.CertificateSecurityState

@Beta public class CertificateSecurityState extends Object
Details about the security state of the page certificate.
  • Constructor Details

  • Method Details

    • getProtocol

      public String getProtocol()
      Protocol name (e.g. "TLS 1.2" or "QUIC").
    • getKeyExchange

      public String getKeyExchange()
      Key Exchange used by the connection, or the empty string if not applicable.
    • getKeyExchangeGroup

      public Optional<String> getKeyExchangeGroup()
      (EC)DH group used by the connection, if applicable.
    • getCipher

      public String getCipher()
      Cipher name.
    • getMac

      public Optional<String> getMac()
      TLS MAC. Note that AEAD ciphers do not have separate MACs.
    • getCertificate

      public List<String> getCertificate()
      Page certificate.
    • getSubjectName

      public String getSubjectName()
      Certificate subject name.
    • getIssuer

      public String getIssuer()
      Name of the issuing CA.
    • getValidFrom

      public TimeSinceEpoch getValidFrom()
      Certificate valid from date.
    • getValidTo

      public TimeSinceEpoch getValidTo()
      Certificate valid to (expiration) date
    • getCertificateNetworkError

      public Optional<String> getCertificateNetworkError()
      The highest priority network error code, if the certificate has an error.
    • getCertificateHasWeakSignature

      public Boolean getCertificateHasWeakSignature()
      True if the certificate uses a weak signature aglorithm.
    • getCertificateHasSha1Signature

      public Boolean getCertificateHasSha1Signature()
      True if the certificate has a SHA1 signature in the chain.
    • getModernSSL

      public Boolean getModernSSL()
      True if modern SSL
    • getObsoleteSslProtocol

      public Boolean getObsoleteSslProtocol()
      True if the connection is using an obsolete SSL protocol.
    • getObsoleteSslKeyExchange

      public Boolean getObsoleteSslKeyExchange()
      True if the connection is using an obsolete SSL key exchange.
    • getObsoleteSslCipher

      public Boolean getObsoleteSslCipher()
      True if the connection is using an obsolete SSL cipher.
    • getObsoleteSslSignature

      public Boolean getObsoleteSslSignature()
      True if the connection is using an obsolete SSL signature.