Package | Description |
---|---|
io.fusionauth.jwks.domain | |
io.fusionauth.jwt | |
io.fusionauth.jwt.domain | |
io.fusionauth.jwt.ec | |
io.fusionauth.jwt.hmac | |
io.fusionauth.jwt.rsa |
Modifier and Type | Field and Description |
---|---|
Algorithm |
JSONWebKey.alg
The "alg" parameter identifies the algorithm intended for use with this key.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
Signer.getAlgorithm()
Return the algorithm supported by this signer.
|
Algorithm |
UnsecuredSigner.getAlgorithm() |
Modifier and Type | Method and Description |
---|---|
static String |
OpenIDConnect.at_hash(String accessToken,
Algorithm algorithm)
Generate the hash of the Access Token specified by the OpenID Connect Core spec for the
at_hash claim. |
static String |
OpenIDConnect.c_hash(String authorizationCode,
Algorithm algorithm)
Generate the hash of the Authorization Code as specified by the OpenID Connect Core spec for the
c_hash claim. |
boolean |
Verifier.canVerify(Algorithm algorithm) |
void |
Verifier.verify(Algorithm algorithm,
byte[] message,
byte[] signature)
Verify the signature of the encoded JWT payload.
|
Modifier and Type | Field and Description |
---|---|
Algorithm |
Header.algorithm |
Modifier and Type | Method and Description |
---|---|
static Algorithm |
Algorithm.fromName(String name) |
static Algorithm |
Algorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
Algorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Header(Algorithm algorithm) |
Modifier and Type | Method and Description |
---|---|
Algorithm |
ECSigner.getAlgorithm() |
Modifier and Type | Method and Description |
---|---|
boolean |
ECVerifier.canVerify(Algorithm algorithm) |
byte[] |
ECDSASignature.derDecode(Algorithm algorithm)
Accept a DER encoded signature and extract the 'r' and the 's' components of the Elliptic signature.
|
void |
ECVerifier.verify(Algorithm algorithm,
byte[] message,
byte[] signature) |
Modifier and Type | Method and Description |
---|---|
Algorithm |
HMACSigner.getAlgorithm() |
Modifier and Type | Method and Description |
---|---|
boolean |
HMACVerifier.canVerify(Algorithm algorithm) |
void |
HMACVerifier.verify(Algorithm algorithm,
byte[] message,
byte[] signature) |
Modifier and Type | Method and Description |
---|---|
Algorithm |
RSAPSSSigner.getAlgorithm() |
Algorithm |
RSASigner.getAlgorithm() |
Modifier and Type | Method and Description |
---|---|
boolean |
RSAPSSVerifier.canVerify(Algorithm algorithm) |
boolean |
RSAVerifier.canVerify(Algorithm algorithm) |
void |
RSAPSSVerifier.verify(Algorithm algorithm,
byte[] message,
byte[] signature) |
void |
RSAVerifier.verify(Algorithm algorithm,
byte[] message,
byte[] signature) |
Copyright © 2021. All rights reserved.