Package | Description |
---|---|
com.nimbusds.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
com.nimbusds.jose.crypto |
Implementations of all standard Javascript Object Signing and Encryption
(JOSE) algorithms.
|
com.nimbusds.jose.crypto.factories |
JWS verifier and JWE decrypter factories for use by the JOSE / JWT processor
framework.
|
com.nimbusds.jose.jca |
Java Cryptography Architecture (JCA) context interfaces and classes.
|
Modifier and Type | Field and Description |
---|---|
static JWSAlgorithm |
JWSAlgorithm.ES256
ECDSA using P-256 curve and SHA-256 hash algorithm (recommended).
|
static JWSAlgorithm |
JWSAlgorithm.ES384
ECDSA using P-384 curve and SHA-384 hash algorithm (optional).
|
static JWSAlgorithm |
JWSAlgorithm.ES512
ECDSA using P-521 curve and SHA-512 hash algorithm (optional).
|
static JWSAlgorithm |
JWSAlgorithm.HS256
HMAC using SHA-256 hash algorithm (required).
|
static JWSAlgorithm |
JWSAlgorithm.HS384
HMAC using SHA-384 hash algorithm (optional).
|
static JWSAlgorithm |
JWSAlgorithm.HS512
HMAC using SHA-512 hash algorithm (optional).
|
static JWSAlgorithm |
JWSAlgorithm.PS256
RSASSA-PSS using SHA-256 hash algorithm and MGF1 mask generation
function with SHA-256 (optional).
|
static JWSAlgorithm |
JWSAlgorithm.PS384
RSASSA-PSS using SHA-384 hash algorithm and MGF1 mask generation
function with SHA-384 (optional).
|
static JWSAlgorithm |
JWSAlgorithm.PS512
RSASSA-PSS using SHA-512 hash algorithm and MGF1 mask generation
function with SHA-512 (optional).
|
static JWSAlgorithm |
JWSAlgorithm.RS256
RSASSA-PKCS-v1_5 using SHA-256 hash algorithm (recommended).
|
static JWSAlgorithm |
JWSAlgorithm.RS384
RSASSA-PKCS-v1_5 using SHA-384 hash algorithm (optional).
|
static JWSAlgorithm |
JWSAlgorithm.RS512
RSASSA-PKCS-v1_5 using SHA-512 hash algorithm (optional).
|
Modifier and Type | Method and Description |
---|---|
JWSAlgorithm |
JWSHeader.getAlgorithm()
Gets the algorithm (
alg ) parameter. |
static JWSAlgorithm |
JWSAlgorithm.parse(String s)
Parses a JWS algorithm from the specified string.
|
Modifier and Type | Method and Description |
---|---|
Set<JWSAlgorithm> |
JWSProvider.supportedJWSAlgorithms()
Returns the names of the supported algorithms by the JWS provider
instance.
|
Constructor and Description |
---|
JWSAlgorithm.Family(JWSAlgorithm... algs)
Creates a new JWS algorithm family.
|
JWSHeader.Builder(JWSAlgorithm alg)
Creates a new JWS header builder.
|
JWSHeader(JWSAlgorithm alg)
Creates a new minimal JSON Web Signature (JWS) header.
|
JWSHeader(JWSAlgorithm alg,
JOSEObjectType typ,
String cty,
Set<String> crit,
URI jku,
JWK jwk,
URI x5u,
Base64URL x5t,
Base64URL x5t256,
List<Base64> x5c,
String kid,
Map<String,Object> customParams,
Base64URL parsedBase64URL)
Creates a new JSON Web Signature (JWS) header.
|
Modifier and Type | Method and Description |
---|---|
static Set<JWSAlgorithm> |
MACSigner.getCompatibleAlgorithms(int secretLength)
Returns the compatible JWS HMAC algorithms for the specified secret
length.
|
Modifier and Type | Method and Description |
---|---|
static int |
MACSigner.getMinRequiredSecretLength(JWSAlgorithm alg)
Returns the minimal required secret length for the specified HMAC
JWS algorithm.
|
Modifier and Type | Field and Description |
---|---|
static Set<JWSAlgorithm> |
DefaultJWSVerifierFactory.SUPPORTED_ALGORITHMS
The supported JWS algorithms.
|
Modifier and Type | Method and Description |
---|---|
Set<JWSAlgorithm> |
DefaultJWSVerifierFactory.supportedJWSAlgorithms() |
Modifier and Type | Method and Description |
---|---|
static boolean |
JCASupport.isSupported(JWSAlgorithm alg)
Checks if the specified JWS algorithm is supported by the default
system JCA provider(s).
|
static boolean |
JCASupport.isSupported(JWSAlgorithm alg,
Provider provider)
Checks if a JWS algorithm is supported by the the specified JCA
provider.
|
Copyright © 2015 Connect2id Ltd.. All Rights Reserved.