| Package | Description |
|---|---|
| com.google.api.client.auth.jsontoken |
| Modifier and Type | Method and Description |
|---|---|
JsonWebSignature.Header |
JsonWebSignature.Header.clone()
Deprecated.
|
JsonWebSignature.Header |
JsonWebSignature.getHeader()
Deprecated.
|
JsonWebSignature.Header |
JsonWebSignature.Header.set(String fieldName,
Object value)
Deprecated.
|
JsonWebSignature.Header |
JsonWebSignature.Header.setAlgorithm(String algorithm)
Deprecated.
Sets the algorithm header parameter that identifies the cryptographic algorithm used to
secure the JWS or
null for none. |
JsonWebSignature.Header |
JsonWebSignature.Header.setJwkUrl(String jwkUrl)
Deprecated.
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.Header |
JsonWebSignature.Header.setKeyId(String keyId)
Deprecated.
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.Header |
JsonWebSignature.Header.setType(String type)
Deprecated.
|
JsonWebSignature.Header |
JsonWebSignature.Header.setX509Thumbprint(String x509Thumbprint)
Deprecated.
Sets the x.509 certificate thumbprint header parameter that provides a base64url encoded
SHA-1 thumbprint (a.k.a.
|
JsonWebSignature.Header |
JsonWebSignature.Header.setX509Url(String x509Url)
Deprecated.
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<? extends JsonWebSignature.Header> |
JsonWebSignature.Parser.getHeaderClass()
Deprecated.
Returns the header class to use for parsing.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
RsaSHA256Signer.sign(PrivateKey privateKey,
com.google.api.client.json.JsonFactory jsonFactory,
JsonWebSignature.Header header,
JsonWebToken.Payload payload)
Deprecated.
(scheduled to be removed in 1.15) Use
JsonWebSignature.signUsingRsaSha256(java.security.PrivateKey, com.google.api.client.json.JsonFactory, com.google.api.client.json.webtoken.JsonWebSignature.Header, com.google.api.client.json.webtoken.JsonWebToken.Payload)
instead |
| Modifier and Type | Method and Description |
|---|---|
JsonWebSignature.Parser |
JsonWebSignature.Parser.setHeaderClass(Class<? extends JsonWebSignature.Header> headerClass)
Deprecated.
Sets the header class to use for parsing.
|
| Constructor and Description |
|---|
JsonWebSignature(JsonWebSignature.Header header,
JsonWebToken.Payload payload,
byte[] signatureBytes,
byte[] signedContentBytes)
Deprecated.
|
Copyright © 2011-2013 Google. All Rights Reserved.