Package Torello.Browser.BrowserAPI
Class Security.CertificateSecurityState
- java.lang.Object
-
- Torello.Browser.BaseType<Security.CertificateSecurityState>
-
- Torello.Browser.BrowserAPI.Security.CertificateSecurityState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Security
public static class Security.CertificateSecurityState extends BaseType<Security.CertificateSecurityState> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theSecuritydomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.Details about the security state of the page certificate.
EXPERIMENTAL- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Security.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Security.java
File Size: 5,460 Bytes Line Count: 126 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Security$$CertificateSecurityState$$.java
- Open New Browser-Tab: Security$$CertificateSecurityState$$.java
File Size: 18,363 Bytes Line Count: 401 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description String[]certificatePage certificate.booleancertificateHasSha1SignatureTrue if the certificate has a SHA1 signature in the chain.booleancertificateHasWeakSignatureTrue if the certificate uses a weak signature algorithm.StringcertificateNetworkErrorThe highest priority network error code, if the certificate has an error.StringcipherCipher name.StringissuerName of the issuing CA.StringkeyExchangeKey Exchange used by the connection, or the empty string if not applicable.StringkeyExchangeGroup(EC)DH group used by the connection, if applicable.StringmacTLS MAC.booleanmodernSSLTrue if modern SSLbooleanobsoleteSslCipherTrue if the connection is using an obsolete SSL cipher.booleanobsoleteSslKeyExchangeTrue if the connection is using an obsolete SSL key exchange.booleanobsoleteSslProtocolTrue if the connection is using an obsolete SSL protocol.booleanobsoleteSslSignatureTrue if the connection is using an obsolete SSL signature.StringprotocolProtocol name (e.g.StringsubjectNameCertificate subject name.NumbervalidFromCertificate valid from date.NumbervalidToCertificate valid to (expiration) date
-
Constructor Summary
Constructors Constructor Description CertificateSecurityState(ReadOnlyList<Boolean> isPresent, String protocol, String keyExchange, String keyExchangeGroup, String cipher, String mac, String[] certificate, String subjectName, String issuer, Number validFrom, Number validTo, String certificateNetworkError, boolean certificateHasWeakSignature, boolean certificateHasSha1Signature, boolean modernSSL, boolean obsoleteSslProtocol, boolean obsoleteSslKeyExchange, boolean obsoleteSslCipher, boolean obsoleteSslSignature)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Security.CertificateSecurityStatefromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Security.CertificateSecurityState>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
protocol
public final java.lang.String protocol
Protocol name (e.g. "TLS 1.2" or "QUIC").
-
keyExchange
public final java.lang.String keyExchange
Key Exchange used by the connection, or the empty string if not applicable.
-
keyExchangeGroup
public final java.lang.String keyExchangeGroup
(EC)DH group used by the connection, if applicable.
OPTIONAL
-
cipher
public final java.lang.String cipher
Cipher name.
-
mac
public final java.lang.String mac
TLS MAC. Note that AEAD ciphers do not have separate MACs.
OPTIONAL
-
certificate
public final java.lang.String[] certificate
Page certificate.
-
subjectName
public final java.lang.String subjectName
Certificate subject name.
-
issuer
public final java.lang.String issuer
Name of the issuing CA.
-
validFrom
public final java.lang.Number validFrom
Certificate valid from date.
-
validTo
public final java.lang.Number validTo
Certificate valid to (expiration) date
-
certificateNetworkError
public final java.lang.String certificateNetworkError
The highest priority network error code, if the certificate has an error.
OPTIONAL
-
certificateHasWeakSignature
public final boolean certificateHasWeakSignature
True if the certificate uses a weak signature algorithm.
-
certificateHasSha1Signature
public final boolean certificateHasSha1Signature
True if the certificate has a SHA1 signature in the chain.
-
modernSSL
public final boolean modernSSL
True if modern SSL
-
obsoleteSslProtocol
public final boolean obsoleteSslProtocol
True if the connection is using an obsolete SSL protocol.
-
obsoleteSslKeyExchange
public final boolean obsoleteSslKeyExchange
True if the connection is using an obsolete SSL key exchange.
-
obsoleteSslCipher
public final boolean obsoleteSslCipher
True if the connection is using an obsolete SSL cipher.
-
obsoleteSslSignature
public final boolean obsoleteSslSignature
True if the connection is using an obsolete SSL signature.
-
-
Constructor Detail
-
CertificateSecurityState
public CertificateSecurityState(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String protocol, java.lang.String keyExchange, java.lang.String keyExchangeGroup, java.lang.String cipher, java.lang.String mac, java.lang.String[] certificate, java.lang.String subjectName, java.lang.String issuer, java.lang.Number validFrom, java.lang.Number validTo, java.lang.String certificateNetworkError, boolean certificateHasWeakSignature, boolean certificateHasSha1Signature, boolean modernSSL, boolean obsoleteSslProtocol, boolean obsoleteSslKeyExchange, boolean obsoleteSslCipher, boolean obsoleteSslSignature)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Security.CertificateSecurityState fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Security.CertificateSecurityState> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-