Package Torello.Browser.BrowserAPI
Class Network.SecurityDetails
- java.lang.Object
-
- Torello.Browser.BaseType<Network.SecurityDetails>
-
- Torello.Browser.BrowserAPI.Network.SecurityDetails
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Network
public static class Network.SecurityDetails extends BaseType<Network.SecurityDetails> 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 theNetworkdomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.Security details about a request.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Network.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Network.java
File Size: 5,106 Bytes Line Count: 118 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Network$$SecurityDetails$$.java
- Open New Browser-Tab: Network$$SecurityDetails$$.java
File Size: 17,759 Bytes Line Count: 397 '\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 intcertificateIdCertificate ID value.StringcertificateTransparencyComplianceWhether the request complied with Certificate Transparency policyStringcipherCipher name.booleanencryptedClientHelloWhether the connection used Encrypted ClientHelloStringissuerName 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.StringprotocolProtocol name (e.g.String[]sanListSubject Alternative Name (SAN) DNS names and IP addresses.IntegerserverSignatureAlgorithmThe signature algorithm used by the server in the TLS server signature, represented as a TLS SignatureScheme code point.Network.SignedCertificateTimestamp[]signedCertificateTimestampListList of signed certificate timestamps (SCTs).StringsubjectNameCertificate subject name.NumbervalidFromCertificate valid from date.NumbervalidToCertificate valid to (expiration) date
-
Constructor Summary
Constructors Constructor Description SecurityDetails(ReadOnlyList<Boolean> isPresent, String protocol, String keyExchange, String keyExchangeGroup, String cipher, String mac, int certificateId, String subjectName, String[] sanList, String issuer, Number validFrom, Number validTo, Network.SignedCertificateTimestamp[] signedCertificateTimestampList, String certificateTransparencyCompliance, Integer serverSignatureAlgorithm, boolean encryptedClientHello)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Network.SecurityDetailsfromJSON(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<Network.SecurityDetails>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
-
certificateId
public final int certificateId
Certificate ID value.
-
subjectName
public final java.lang.String subjectName
Certificate subject name.
-
sanList
public final java.lang.String[] sanList
Subject Alternative Name (SAN) DNS names and IP addresses.
-
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
-
signedCertificateTimestampList
public final Network.SignedCertificateTimestamp[] signedCertificateTimestampList
List of signed certificate timestamps (SCTs).
-
certificateTransparencyCompliance
public final java.lang.String certificateTransparencyCompliance
Whether the request complied with Certificate Transparency policyThis particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎Network.CertificateTransparencyCompliance
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = Network.CertificateTransparencyCompliance.enumStrList("certificateTransparencyCompliance"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
serverSignatureAlgorithm
public final java.lang.Integer serverSignatureAlgorithm
The signature algorithm used by the server in the TLS server signature, represented as a TLS SignatureScheme code point. Omitted if not applicable or not known.
OPTIONAL
-
encryptedClientHello
public final boolean encryptedClientHello
Whether the connection used Encrypted ClientHello
-
-
Constructor Detail
-
SecurityDetails
public SecurityDetails (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, int certificateId, java.lang.String subjectName, java.lang.String[] sanList, java.lang.String issuer, java.lang.Number validFrom, java.lang.Number validTo, Network.SignedCertificateTimestamp[] signedCertificateTimestampList, java.lang.String certificateTransparencyCompliance, java.lang.Integer serverSignatureAlgorithm, boolean encryptedClientHello)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Network.SecurityDetails fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Network.SecurityDetails> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-