public class CertificateSecurityState extends Object
| Constructor and Description |
|---|
CertificateSecurityState() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCertificate()
Page certificate.
|
Boolean |
getCertificateHasSha1Signature()
True if the certificate has a SHA1 signature in the chain.
|
Boolean |
getCertificateHasWeakSignature()
True if the certificate uses a weak signature aglorithm.
|
String |
getCertificateNetworkError()
The highest priority network error code, if the certificate has an error.
|
String |
getCipher()
Cipher name.
|
String |
getIssuer()
Name of the issuing CA.
|
String |
getKeyExchange()
Key Exchange used by the connection, or the empty string if not applicable.
|
String |
getKeyExchangeGroup()
(EC)DH group used by the connection, if applicable.
|
String |
getMac()
TLS MAC.
|
Boolean |
getModernSSL()
True if modern SSL
|
Boolean |
getObsoleteSslCipher()
True if the connection is using an obsolete SSL cipher.
|
Boolean |
getObsoleteSslKeyExchange()
True if the connection is using an obsolete SSL key exchange.
|
Boolean |
getObsoleteSslProtocol()
True if the connection is using an obsolete SSL protocol.
|
Boolean |
getObsoleteSslSignature()
True if the connection is using an obsolete SSL signature.
|
String |
getProtocol()
Protocol name (e.g.
|
String |
getSubjectName()
Certificate subject name.
|
Double |
getValidFrom()
Certificate valid from date.
|
Double |
getValidTo()
Certificate valid to (expiration) date
|
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 |
setCipher(String cipher)
Cipher name.
|
void |
setIssuer(String issuer)
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 |
setMac(String mac)
TLS MAC.
|
void |
setModernSSL(Boolean modernSSL)
True if modern SSL
|
void |
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) date
|
public String getProtocol()
public void setProtocol(String protocol)
public String getKeyExchange()
public void setKeyExchange(String keyExchange)
public String getKeyExchangeGroup()
public void setKeyExchangeGroup(String keyExchangeGroup)
public String getCipher()
public void setCipher(String cipher)
public String getMac()
public void setMac(String mac)
public String getSubjectName()
public void setSubjectName(String subjectName)
public String getIssuer()
public void setIssuer(String issuer)
public Double getValidFrom()
public void setValidFrom(Double validFrom)
public Double getValidTo()
public void setValidTo(Double validTo)
public String getCertificateNetworkError()
public void setCertificateNetworkError(String certificateNetworkError)
public Boolean getCertificateHasWeakSignature()
public void setCertificateHasWeakSignature(Boolean certificateHasWeakSignature)
public Boolean getCertificateHasSha1Signature()
public void setCertificateHasSha1Signature(Boolean certificateHasSha1Signature)
public Boolean getModernSSL()
public void setModernSSL(Boolean modernSSL)
public Boolean getObsoleteSslProtocol()
public void setObsoleteSslProtocol(Boolean obsoleteSslProtocol)
public Boolean getObsoleteSslKeyExchange()
public void setObsoleteSslKeyExchange(Boolean obsoleteSslKeyExchange)
public Boolean getObsoleteSslCipher()
public void setObsoleteSslCipher(Boolean obsoleteSslCipher)
public Boolean getObsoleteSslSignature()
public void setObsoleteSslSignature(Boolean obsoleteSslSignature)
Copyright © 2021 Kenan Klisura. All rights reserved.