Package | Description |
---|---|
com.nimbusds.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
Modifier and Type | Field and Description |
---|---|
static JWEAlgorithm |
JWEAlgorithm.A128KW
Advanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394)
using 256 bit keys (recommended).
|
static JWEAlgorithm |
JWEAlgorithm.A256KW
Advanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394)
using 256 bit keys (recommended).
|
static JWEAlgorithm |
JWEAlgorithm.DIR
Direct use of a shared symmetric key as the Content Encryption Key
(CEK) for the block encryption step (rather than using the symmetric
key to wrap the CEK) (recommended).
|
static JWEAlgorithm |
JWEAlgorithm.ECDH_ES
Elliptic Curve Diffie-Hellman Ephemeral Static (RFC 6090) key
agreement using the Concat KDF, as defined in section 5.8.1 of
NIST.800-56A, with the agreed-upon key being used directly as the
Content Encryption Key (CEK) (rather than being used to wrap the
CEK) (recommended).
|
static JWEAlgorithm |
JWEAlgorithm.ECDH_ES_A128KW
Elliptic Curve Diffie-Hellman Ephemeral Static key agreement per
"ECDH-ES", but where the agreed-upon key is used to wrap the Content
Encryption Key (CEK) with the "A128KW" function (rather than being
used directly as the CEK) (recommended).
|
static JWEAlgorithm |
JWEAlgorithm.ECDH_ES_A256KW
Elliptic Curve Diffie-Hellman Ephemeral Static key agreement per
"ECDH-ES", but where the agreed-upon key is used to wrap the Content
Encryption Key (CEK) with the "A256KW" function (rather than being
used directly as the CEK) (recommended).
|
static JWEAlgorithm |
JWEAlgorithm.RSA_OAEP
RSAES using Optimal Assymetric Encryption Padding (OAEP) (RFC 3447),
with the default parameters specified by RFC 3447 in section A.2.1
(recommended).
|
static JWEAlgorithm |
JWEAlgorithm.RSA1_5
RSAES-PKCS1-V1_5 (RFC 3447) (required).
|
Modifier and Type | Method and Description |
---|---|
JWEAlgorithm |
ReadOnlyJWEHeader.getAlgorithm()
Gets the algorithm (
alg ) parameter. |
JWEAlgorithm |
JWEHeader.getAlgorithm() |
static JWEAlgorithm |
JWEAlgorithm.parse(String s)
Parses a JWE algorithm from the specified string.
|
Modifier and Type | Method and Description |
---|---|
Set<JWEAlgorithm> |
JWEHeaderFilter.getAcceptedAlgorithms()
Gets the names of the accepted JWE algorithms.
|
Set<JWEAlgorithm> |
DefaultJWEHeaderFilter.getAcceptedAlgorithms() |
Set<JWEAlgorithm> |
DefaultJWEHeaderFilter.supportedAlgorithms()
Returns the names of the supported JWE algorithms.
|
Set<JWEAlgorithm> |
JWEAlgorithmProvider.supportedAlgorithms()
Returns the names of the supported JWE algorithms.
|
Modifier and Type | Method and Description |
---|---|
void |
JWEHeaderFilter.setAcceptedAlgorithms(Set<JWEAlgorithm> acceptedAlgs)
Sets the names of the accepted JWE algorithms.
|
void |
DefaultJWEHeaderFilter.setAcceptedAlgorithms(Set<JWEAlgorithm> acceptedAlgs) |
Constructor and Description |
---|
JWEHeader(JWEAlgorithm alg,
EncryptionMethod enc)
Creates a new JSON Web Encryption (JWE) header.
|
Constructor and Description |
---|
DefaultJWEHeaderFilter(Set<JWEAlgorithm> algs,
Set<EncryptionMethod> encs)
Creates a new JWE header filter.
|
DefaultJWEHeaderFilter(Set<JWEAlgorithm> algs,
Set<EncryptionMethod> encs,
Set<String> acceptedParams)
Creates a new JWE header filter.
|
Copyright © 2013 NimbusDS. All Rights Reserved.