Package | Description |
---|---|
io.jsonwebtoken | |
io.jsonwebtoken.impl | |
io.jsonwebtoken.impl.crypto |
Modifier and Type | Method and Description |
---|---|
static SignatureAlgorithm |
SignatureAlgorithm.forName(String value)
Looks up and returns the corresponding
SignatureAlgorithm enum instance based on a
case-insensitive name comparison. |
static SignatureAlgorithm |
SignatureAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignatureAlgorithm[] |
SignatureAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
JwtBuilder |
JwtBuilder.signWith(SignatureAlgorithm alg,
byte[] secretKey)
Signs the constructed JWT using the specified algorithm with the specified key, producing a JWS.
|
JwtBuilder |
JwtBuilder.signWith(SignatureAlgorithm alg,
Key key)
Signs the constructed JWT using the specified algorithm with the specified key, producing a JWS.
|
JwtBuilder |
JwtBuilder.signWith(SignatureAlgorithm alg,
String base64EncodedSecretKey)
Signs the constructed JWT using the specified algorithm with the specified key, producing a JWS.
|
Modifier and Type | Method and Description |
---|---|
JwtBuilder |
DefaultJwtBuilder.signWith(SignatureAlgorithm alg,
byte[] secretKey) |
JwtBuilder |
DefaultJwtBuilder.signWith(SignatureAlgorithm alg,
Key key) |
JwtBuilder |
DefaultJwtBuilder.signWith(SignatureAlgorithm alg,
String base64EncodedSecretKey) |
Modifier and Type | Method and Description |
---|---|
SignatureValidator |
SignatureValidatorFactory.createSignatureValidator(SignatureAlgorithm alg,
Key key) |
SignatureValidator |
DefaultSignatureValidatorFactory.createSignatureValidator(SignatureAlgorithm alg,
Key key) |
Signer |
SignerFactory.createSigner(SignatureAlgorithm alg,
Key key) |
Signer |
DefaultSignerFactory.createSigner(SignatureAlgorithm alg,
Key key) |
Constructor and Description |
---|
DefaultJwtSignatureValidator(SignatureAlgorithm alg,
Key key) |
DefaultJwtSignatureValidator(SignatureValidatorFactory factory,
SignatureAlgorithm alg,
Key key) |
DefaultJwtSigner(SignatureAlgorithm alg,
Key key) |
DefaultJwtSigner(SignerFactory factory,
SignatureAlgorithm alg,
Key key) |
MacSigner(SignatureAlgorithm alg,
byte[] key) |
MacSigner(SignatureAlgorithm alg,
Key key) |
MacValidator(SignatureAlgorithm alg,
Key key) |
RsaSignatureValidator(SignatureAlgorithm alg,
Key key) |
RsaSigner(SignatureAlgorithm alg,
Key key) |
Copyright © 2014. All rights reserved.