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 Master Key (CMK)
for the block encryption step (rather than using the symmetric key to
wrap the CMK) (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 Master Key (CMK) (rather than being used to wrap the CMK)
(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
Master Key (CMK) with the "A128KW" function (rather than being used
directly as the CMK) (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
Master Key (CMK) with the "A256KW" function (rather than being used
directly as the CMK) (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(java.lang.String s)
Parses a JWE algorithm from the specified string.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<JWEAlgorithm> |
JWEHeaderFilter.getAcceptedAlgorithms()
Gets the names of the accepted JWE algorithms.
|
java.util.Set<JWEAlgorithm> |
JWEAlgorithmProvider.supportedAlgorithms()
Returns the names of the supported JWE algorithms.
|
Modifier and Type | Method and Description |
---|---|
void |
JWEHeaderFilter.setAcceptedAlgorithms(java.util.Set<JWEAlgorithm> acceptedAlgs)
Sets the names of the accepted JWE algorithms.
|
Constructor and Description |
---|
JWEHeader(JWEAlgorithm alg,
EncryptionMethod enc)
Creates a new JSON Web Encryption (JWE) header.
|
Copyright © 2013 NimbusDS. All Rights Reserved.