| Package | Description |
|---|---|
| org.primeframework.jwt | |
| org.primeframework.jwt.domain | |
| org.primeframework.jwt.hmac | |
| org.primeframework.jwt.rsa |
| Modifier and Type | Method and Description |
|---|---|
Algorithm |
UnsecuredSigner.getAlgorithm() |
Algorithm |
Signer.getAlgorithm()
Return the algorithm supported by this signer.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
JSONWebKey.algorithm |
Algorithm |
Header.algorithm |
| Modifier and Type | Method and Description |
|---|---|
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 |
HMACSigner.getAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HMACVerifier.canVerify(Algorithm algorithm) |
void |
HMACVerifier.verify(Algorithm algorithm,
byte[] payload,
byte[] signature) |
| Modifier and Type | Method and Description |
|---|---|
Algorithm |
RSASigner.getAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RSAVerifier.canVerify(Algorithm algorithm) |
void |
RSAVerifier.verify(Algorithm algorithm,
byte[] payload,
byte[] signature) |
Copyright © 2017. All rights reserved.