Package | Description |
---|---|
io.jsonwebtoken |
Modifier and Type | Interface and Description |
---|---|
interface |
JwsHeader<T extends JwsHeader<T>>
A JWS header.
|
Modifier and Type | Method and Description |
---|---|
static JwsHeader |
Jwts.jwsHeader()
Returns a new
JwsHeader instance suitable for digitally signed JWTs (aka 'JWS's). |
static JwsHeader |
Jwts.jwsHeader(java.util.Map<java.lang.String,java.lang.Object> header)
Returns a new
JwsHeader instance suitable for digitally signed JWTs (aka 'JWS's), populated with the
specified name/value pairs. |
Modifier and Type | Method and Description |
---|---|
java.security.Key |
SigningKeyResolverAdapter.resolveSigningKey(JwsHeader header,
Claims claims) |
java.security.Key |
SigningKeyResolver.resolveSigningKey(JwsHeader header,
Claims claims)
Returns the signing key that should be used to validate a digital signature for the Claims JWS with the specified
header and claims.
|
java.security.Key |
SigningKeyResolverAdapter.resolveSigningKey(JwsHeader header,
java.lang.String plaintext) |
java.security.Key |
SigningKeyResolver.resolveSigningKey(JwsHeader header,
java.lang.String plaintext)
Returns the signing key that should be used to validate a digital signature for the Plaintext JWS with the
specified header and plaintext payload.
|
byte[] |
SigningKeyResolverAdapter.resolveSigningKeyBytes(JwsHeader header,
Claims claims)
Convenience method invoked by
SigningKeyResolverAdapter.resolveSigningKey(JwsHeader, Claims) that obtains the necessary signing
key bytes. |
byte[] |
SigningKeyResolverAdapter.resolveSigningKeyBytes(JwsHeader header,
java.lang.String payload)
Convenience method invoked by
SigningKeyResolverAdapter.resolveSigningKey(JwsHeader, String) that obtains the necessary signing
key bytes. |
Copyright © 2014-2022 jsonwebtoken.io. All Rights Reserved.