Class CertificateSecurityState

java.lang.Object
io.webfolder.cdp.type.security.CertificateSecurityState

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

    • CertificateSecurityState

      public CertificateSecurityState()
  • Method Details

    • getProtocol

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

      public void setProtocol(String protocol)
      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.
    • setKeyExchange

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

      public String getKeyExchangeGroup()
      (EC)DH group used by the connection, if applicable.
    • setKeyExchangeGroup

      public void setKeyExchangeGroup(String keyExchangeGroup)
      (EC)DH group used by the connection, if applicable.
    • getCipher

      public String getCipher()
      Cipher name.
    • setCipher

      public void setCipher(String cipher)
      Cipher name.
    • getMac

      public String getMac()
      TLS MAC. Note that AEAD ciphers do not have separate MACs.
    • setMac

      public void setMac(String mac)
      TLS MAC. Note that AEAD ciphers do not have separate MACs.
    • getCertificate

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

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

      public String getSubjectName()
      Certificate subject name.
    • setSubjectName

      public void setSubjectName(String subjectName)
      Certificate subject name.
    • getIssuer

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

      public void setIssuer(String issuer)
      Name of the issuing CA.
    • getValidFrom

      public Double getValidFrom()
      Certificate valid from date.
    • setValidFrom

      public void setValidFrom(Double validFrom)
      Certificate valid from date.
    • getValidTo

      public Double getValidTo()
      Certificate valid to (expiration) date
    • setValidTo

      public void setValidTo(Double validTo)
      Certificate valid to (expiration) date
    • getCertificateNetworkError

      public String getCertificateNetworkError()
      The highest priority network error code, if the certificate has an error.
    • setCertificateNetworkError

      public void setCertificateNetworkError(String certificateNetworkError)
      The highest priority network error code, if the certificate has an error.
    • isCertificateHasWeakSignature

      public Boolean isCertificateHasWeakSignature()
      True if the certificate uses a weak signature aglorithm.
    • setCertificateHasWeakSignature

      public void setCertificateHasWeakSignature(Boolean certificateHasWeakSignature)
      True if the certificate uses a weak signature aglorithm.
    • isCertificateHasSha1Signature

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

      public void setCertificateHasSha1Signature(Boolean certificateHasSha1Signature)
      True if the certificate has a SHA1 signature in the chain.
    • isModernSSL

      public Boolean isModernSSL()
      True if modern SSL
    • setModernSSL

      public void setModernSSL(Boolean modernSSL)
      True if modern SSL
    • isObsoleteSslProtocol

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

      public void setObsoleteSslProtocol(Boolean obsoleteSslProtocol)
      True if the connection is using an obsolete SSL protocol.
    • isObsoleteSslKeyExchange

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

      public void setObsoleteSslKeyExchange(Boolean obsoleteSslKeyExchange)
      True if the connection is using an obsolete SSL key exchange.
    • isObsoleteSslCipher

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

      public void setObsoleteSslCipher(Boolean obsoleteSslCipher)
      True if the connection is using an obsolete SSL cipher.
    • isObsoleteSslSignature

      public Boolean isObsoleteSslSignature()
      True if the connection is using an obsolete SSL signature.
    • setObsoleteSslSignature

      public void setObsoleteSslSignature(Boolean obsoleteSslSignature)
      True if the connection is using an obsolete SSL signature.
    • toString

      public String toString()
      Overrides:
      toString in class Object