Package | Description |
---|---|
com.nimbusds.jose |
Javascript Object Signing and Encryption (JOSE) 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.RS256
RSA using SHA-256 hash algorithm (recommended).
|
static JWSAlgorithm |
JWSAlgorithm.RS384
RSA using SHA-384 hash algorithm (optional).
|
static JWSAlgorithm |
JWSAlgorithm.RS512
RSA using SHA-512 hash algorithm (optional).
|
Modifier and Type | Method and Description |
---|---|
JWSAlgorithm |
ReadOnlyJWSHeader.getAlgorithm()
Gets the algorithm (
alg ) parameter. |
JWSAlgorithm |
JWSHeader.getAlgorithm() |
static JWSAlgorithm |
JWSAlgorithm.parse(java.lang.String s)
Parses a JWS algorithm from the specified string.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<JWSAlgorithm> |
JWSHeaderFilter.getAcceptedAlgorithms()
Gets the names of the accepted JWS algorithms.
|
java.util.Set<JWSAlgorithm> |
DefaultJWSHeaderFilter.getAcceptedAlgorithms() |
java.util.Set<JWSAlgorithm> |
DefaultJWSHeaderFilter.supportedAlgorithms()
Returns the names of the supported JWS algorithms.
|
java.util.Set<JWSAlgorithm> |
JWSAlgorithmProvider.supportedAlgorithms()
Returns the names of the supported JWS algorithms.
|
Modifier and Type | Method and Description |
---|---|
void |
JWSHeaderFilter.setAcceptedAlgorithms(java.util.Set<JWSAlgorithm> acceptedAlgs)
Sets the names of the accepted JWS algorithms.
|
void |
DefaultJWSHeaderFilter.setAcceptedAlgorithms(java.util.Set<JWSAlgorithm> acceptedAlgs) |
Constructor and Description |
---|
JWSHeader(JWSAlgorithm alg)
Creates a new JSON Web Signature (JWS) header.
|
Constructor and Description |
---|
DefaultJWSHeaderFilter(java.util.Set<JWSAlgorithm> algs)
Creates a new JWS header filter.
|
DefaultJWSHeaderFilter(java.util.Set<JWSAlgorithm> algs,
java.util.Set<java.lang.String> acceptedParams)
Creates a new JWS header filter.
|
Copyright © 2013 NimbusDS. All Rights Reserved.