public static class JsonWebSignature.Header extends JsonWebToken.Header
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
JsonWebSignature.Header() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
Returns the algorithm header parameter that identifies the cryptographic algorithm used to
secure the JWS or
null for none. |
String |
getJwkUrl()
Returns 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. |
String |
getKeyId()
Returns 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. |
String |
getX509Thumbprint()
Returns the x.509 certificate thumbprint header parameter that provides a base64url encoded
SHA-1 thumbprint (a.k.a.
|
String |
getX509Url()
Returns 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. |
JsonWebSignature.Header |
setAlgorithm(String algorithm)
Sets the algorithm header parameter that identifies the cryptographic algorithm used to
secure the JWS or
null for none. |
JsonWebSignature.Header |
setJwkUrl(String jwkUrl)
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 |
setKeyId(String keyId)
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 |
setType(String type)
Sets the type header parameter used to declare structural information about the JWT or
null for none. |
JsonWebSignature.Header |
setX509Thumbprint(String x509Thumbprint)
Sets the x.509 certificate thumbprint header parameter that provides a base64url encoded
SHA-1 thumbprint (a.k.a.
|
JsonWebSignature.Header |
setX509Url(String x509Url)
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. |
getTypeclone, getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic JsonWebSignature.Header setType(String type)
JsonWebToken.Headernull for none.setType in class JsonWebToken.Headerpublic final String getAlgorithm()
null for none.public JsonWebSignature.Header setAlgorithm(String algorithm)
null for none.public String getJwkUrl()
null for none.public JsonWebSignature.Header setJwkUrl(String jwkUrl)
null for none.public String getKeyId()
null for none.public JsonWebSignature.Header setKeyId(String keyId)
null for none.public String getX509Url()
null for none.public JsonWebSignature.Header setX509Url(String x509Url)
null for none.public String getX509Thumbprint()
null for none.public JsonWebSignature.Header setX509Thumbprint(String x509Thumbprint)
null for none.Copyright © 2011-2012 Google. All Rights Reserved.