Uses of Class
com.google.api.client.json.webtoken.JsonWebSignature.Header
Packages that use JsonWebSignature.Header
Package
Description
-
Uses of JsonWebSignature.Header in com.google.api.client.json.webtoken
Fields in com.google.api.client.json.webtoken with type parameters of type JsonWebSignature.HeaderModifier and TypeFieldDescriptionprivate Class
<? extends JsonWebSignature.Header> JsonWebSignature.Parser.headerClass
Header class to use for parsing.Methods in com.google.api.client.json.webtoken that return JsonWebSignature.HeaderModifier and TypeMethodDescriptionJsonWebSignature.Header.clone()
JsonWebSignature.getHeader()
JsonWebSignature.Header.setAlgorithm
(String algorithm) Sets the algorithm header parameter that identifies the cryptographic algorithm used to secure the JWS ornull
for none.JsonWebSignature.Header.setCritical
(List<String> critical) Sets the array listing the header parameter names that define extensions that are used in the JWS header that MUST be understood and processed ornull
for none.Sets the JSON Web Key header parameter that is a public key that corresponds to the key used to digitally sign the JWS ornull
for none.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 ornull
for none.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 ornull
for none.JsonWebSignature.Header.setX509Certificate
(String x509Certificate) Deprecated.JsonWebSignature.Header.setX509Certificates
(List<String> x509Certificates) 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 ornull
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 ornull
for none.Methods in com.google.api.client.json.webtoken that return types with arguments of type JsonWebSignature.HeaderModifier and TypeMethodDescriptionClass
<? extends JsonWebSignature.Header> JsonWebSignature.Parser.getHeaderClass()
Returns the header class to use for parsing.Methods in com.google.api.client.json.webtoken with parameters of type JsonWebSignature.HeaderModifier and TypeMethodDescriptionstatic String
JsonWebSignature.signUsingRsaSha256
(PrivateKey privateKey, JsonFactory jsonFactory, JsonWebSignature.Header header, JsonWebToken.Payload payload) 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.Method parameters in com.google.api.client.json.webtoken with type arguments of type JsonWebSignature.HeaderModifier and TypeMethodDescriptionJsonWebSignature.Parser.setHeaderClass
(Class<? extends JsonWebSignature.Header> headerClass) Sets the header class to use for parsing.Constructors in com.google.api.client.json.webtoken with parameters of type JsonWebSignature.HeaderModifierConstructorDescriptionJsonWebSignature
(JsonWebSignature.Header header, JsonWebToken.Payload payload, byte[] signatureBytes, byte[] signedContentBytes)