| Package | Description |
|---|---|
| com.google.api.client.json.webtoken |
| Modifier and Type | Method and Description |
|---|---|
JsonWebSignature |
JsonWebSignature.Header.clone()
|
JsonWebSignature |
JsonWebSignature.getHeader()
|
JsonWebSignature |
JsonWebSignature.Header.set(String
|
JsonWebSignature |
JsonWebSignature.Header.setAlgorithm(String
Sets the algorithm header parameter that identifies the cryptographic algorithm used to secure the JWS or
null for none.
|
JsonWebSignature |
JsonWebSignature.Header.setCritical(List
Sets the array listing the header parameter names that define extensions that are used in the JWS header that MUST be understood and processed or
null for none.
|
JsonWebSignature |
JsonWebSignature.Header.setJwk(String
Sets the JSON Web Key header parameter that is a public key that corresponds to the key used to digitally sign the JWS or
null for none.
|
JsonWebSignature |
JsonWebSignature.Header.setJwkUrl(String
Sets the JSON Web Key URL header parameter that is an absolute URL that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key that was used to digitally sign the JWS or
null for none.
|
JsonWebSignature |
JsonWebSignature.Header.setKeyId(String
Sets the key ID header parameter that is a hint indicating which specific key owned by the signer should be used to validate the digital signature or
null for none.
|
JsonWebSignature |
JsonWebSignature.Header.setType(String
|
JsonWebSignature |
JsonWebSignature.Header.setX509Certificate(String
Deprecated.
|
JsonWebSignature |
JsonWebSignature.Header.setX509Certificates(List
Sets the X.509 certificate chain header parameter contains the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or
null for none.
|
JsonWebSignature |
JsonWebSignature.Header.setX509Thumbprint(String
Sets the X.509 certificate thumbprint header parameter that provides a base64url encoded SHA-1 thumbprint (a.k.a.
|
JsonWebSignature |
JsonWebSignature.Header.setX509Url(String
Sets the X.509 URL header parameter that is an absolute URL that refers to a resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or
null for none.
|
| Modifier and Type | Method and Description |
|---|---|
Class |
JsonWebSignature.Parser.getHeaderClass()
Returns the header class to use for parsing.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
JsonWebSignature.signUsingRsaSha256(PrivateKey
Signs a given JWS header and payload based on the given private key using RSA and SHA-256 as described in
JWS using RSA SHA-256.
|
| Modifier and Type | Method and Description |
|---|---|
JsonWebSignature |
JsonWebSignature.Parser.setHeaderClass(Class
Sets the header class to use for parsing.
|
| Constructor and Description | |
|---|---|
JsonWebSignature(JsonWebSignature
|