Package Torello.Browser.BrowserAPI
Class Network.SignedExchangeSignature
- java.lang.Object
-
- Torello.Browser.BaseType<Network.SignedExchangeSignature>
-
- Torello.Browser.BrowserAPI.Network.SignedExchangeSignature
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Network
public static class Network.SignedExchangeSignature extends BaseType<Network.SignedExchangeSignature> 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.Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
EXPERIMENTAL- 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: 3,334 Bytes Line Count: 87 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Network$$SignedExchangeSignature$$.java
- Open New Browser-Tab: Network$$SignedExchangeSignature$$.java
File Size: 12,363 Bytes Line Count: 292 '\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[]certificatesThe encoded certificates.StringcertSha256The hex string of signed exchange signature cert sha256.StringcertUrlSigned exchange signature cert Url.intdateSigned exchange signature date.intexpiresSigned exchange signature expires.StringintegritySigned exchange signature integrity.StringlabelSigned exchange signature label.StringsignatureThe hex string of signed exchange signature.StringvalidityUrlSigned exchange signature validity Url.
-
Constructor Summary
Constructors Constructor Description SignedExchangeSignature(ReadOnlyList<Boolean> isPresent, String label, String signature, String integrity, String certUrl, String certSha256, String validityUrl, int date, int expires, String[] certificates)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Network.SignedExchangeSignaturefromJSON(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.SignedExchangeSignature>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
-
label
public final java.lang.String label
Signed exchange signature label.
-
signature
public final java.lang.String signature
The hex string of signed exchange signature.
-
integrity
public final java.lang.String integrity
Signed exchange signature integrity.
-
certUrl
public final java.lang.String certUrl
Signed exchange signature cert Url.
OPTIONAL
-
certSha256
public final java.lang.String certSha256
The hex string of signed exchange signature cert sha256.
OPTIONAL
-
validityUrl
public final java.lang.String validityUrl
Signed exchange signature validity Url.
-
date
public final int date
Signed exchange signature date.
-
expires
public final int expires
Signed exchange signature expires.
-
certificates
public final java.lang.String[] certificates
The encoded certificates.
OPTIONAL
-
-
Constructor Detail
-
SignedExchangeSignature
public SignedExchangeSignature(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String label, java.lang.String signature, java.lang.String integrity, java.lang.String certUrl, java.lang.String certSha256, java.lang.String validityUrl, int date, int expires, java.lang.String[] certificates)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Network.SignedExchangeSignature fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Network.SignedExchangeSignature> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-