Class CertificateSecurityState

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

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

    Constructors 
    Constructor Description
    CertificateSecurityState()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.String> getCertificate()
    Page certificate.
    java.lang.String getCertificateNetworkError()
    The highest priority network error code, if the certificate has an error.
    java.lang.String getCipher()
    Cipher name.
    java.lang.String getIssuer()
    Name of the issuing CA.
    java.lang.String getKeyExchange()
    Key Exchange used by the connection, or the empty string if not applicable.
    java.lang.String getKeyExchangeGroup()
    (EC)DH group used by the connection, if applicable.
    java.lang.String getMac()
    TLS MAC.
    java.lang.String getProtocol()
    Protocol name (e.g.
    java.lang.String getSubjectName()
    Certificate subject name.
    java.lang.Double getValidFrom()
    Certificate valid from date.
    java.lang.Double getValidTo()
    Certificate valid to (expiration) date
    java.lang.Boolean isCertificateHasSha1Signature()
    True if the certificate has a SHA1 signature in the chain.
    java.lang.Boolean isCertificateHasWeakSignature()
    True if the certificate uses a weak signature aglorithm.
    java.lang.Boolean isModernSSL()
    True if modern SSL
    java.lang.Boolean isObsoleteSslCipher()
    True if the connection is using an obsolete SSL cipher.
    java.lang.Boolean isObsoleteSslKeyExchange()
    True if the connection is using an obsolete SSL key exchange.
    java.lang.Boolean isObsoleteSslProtocol()
    True if the connection is using an obsolete SSL protocol.
    java.lang.Boolean isObsoleteSslSignature()
    True if the connection is using an obsolete SSL signature.
    void setCertificate​(java.util.List<java.lang.String> certificate)
    Page certificate.
    void setCertificateHasSha1Signature​(java.lang.Boolean certificateHasSha1Signature)
    True if the certificate has a SHA1 signature in the chain.
    void setCertificateHasWeakSignature​(java.lang.Boolean certificateHasWeakSignature)
    True if the certificate uses a weak signature aglorithm.
    void setCertificateNetworkError​(java.lang.String certificateNetworkError)
    The highest priority network error code, if the certificate has an error.
    void setCipher​(java.lang.String cipher)
    Cipher name.
    void setIssuer​(java.lang.String issuer)
    Name of the issuing CA.
    void setKeyExchange​(java.lang.String keyExchange)
    Key Exchange used by the connection, or the empty string if not applicable.
    void setKeyExchangeGroup​(java.lang.String keyExchangeGroup)
    (EC)DH group used by the connection, if applicable.
    void setMac​(java.lang.String mac)
    TLS MAC.
    void setModernSSL​(java.lang.Boolean modernSSL)
    True if modern SSL
    void setObsoleteSslCipher​(java.lang.Boolean obsoleteSslCipher)
    True if the connection is using an obsolete SSL cipher.
    void setObsoleteSslKeyExchange​(java.lang.Boolean obsoleteSslKeyExchange)
    True if the connection is using an obsolete SSL key exchange.
    void setObsoleteSslProtocol​(java.lang.Boolean obsoleteSslProtocol)
    True if the connection is using an obsolete SSL protocol.
    void setObsoleteSslSignature​(java.lang.Boolean obsoleteSslSignature)
    True if the connection is using an obsolete SSL signature.
    void setProtocol​(java.lang.String protocol)
    Protocol name (e.g.
    void setSubjectName​(java.lang.String subjectName)
    Certificate subject name.
    void setValidFrom​(java.lang.Double validFrom)
    Certificate valid from date.
    void setValidTo​(java.lang.Double validTo)
    Certificate valid to (expiration) date

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getProtocol

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

      public void setProtocol​(java.lang.String protocol)
      Protocol name (e.g. "TLS 1.2" or "QUIC").
    • getKeyExchange

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

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

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

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

      public java.lang.String getCipher()
      Cipher name.
    • setCipher

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

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

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

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

      public void setCertificate​(java.util.List<java.lang.String> certificate)
      Page certificate.
    • getSubjectName

      public java.lang.String getSubjectName()
      Certificate subject name.
    • setSubjectName

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

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

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

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

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

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

      public void setValidTo​(java.lang.Double validTo)
      Certificate valid to (expiration) date
    • getCertificateNetworkError

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

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

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

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

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

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

      public java.lang.Boolean isModernSSL()
      True if modern SSL
    • setModernSSL

      public void setModernSSL​(java.lang.Boolean modernSSL)
      True if modern SSL
    • isObsoleteSslProtocol

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

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

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

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

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

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

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

      public void setObsoleteSslSignature​(java.lang.Boolean obsoleteSslSignature)
      True if the connection is using an obsolete SSL signature.