Package | Description |
---|---|
com.nimbusds.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
Modifier and Type | Field and Description |
---|---|
static EncryptionMethod |
EncryptionMethod.A128CBC_HS256
AES_128_CBC_HMAC_SHA_256 authenticated encryption using a 256 bit
key (required).
|
static EncryptionMethod |
EncryptionMethod.A128GCM
AES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 128 bit key
(recommended).
|
static EncryptionMethod |
EncryptionMethod.A256CBC_HS512
AES_256_CBC_HMAC_SHA_512 authenticated encryption using a 512 bit
key (required).
|
static EncryptionMethod |
EncryptionMethod.A256GCM
AES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 256 bit key
(recommended).
|
Modifier and Type | Method and Description |
---|---|
EncryptionMethod |
ReadOnlyJWEHeader.getEncryptionMethod()
Gets the encryption method (
enc ) parameter. |
EncryptionMethod |
JWEHeader.getEncryptionMethod() |
static EncryptionMethod |
EncryptionMethod.parse(String s)
Parses an encryption method from the specified string.
|
Modifier and Type | Method and Description |
---|---|
Set<EncryptionMethod> |
JWEHeaderFilter.getAcceptedEncryptionMethods()
Gets the names of the accepted encryption methods.
|
Set<EncryptionMethod> |
DefaultJWEHeaderFilter.getAcceptedEncryptionMethods() |
Set<EncryptionMethod> |
DefaultJWEHeaderFilter.supportedEncryptionMethods()
Returns the names of the supported encryption methods.
|
Set<EncryptionMethod> |
JWEAlgorithmProvider.supportedEncryptionMethods()
Returns the names of the supported encryption methods.
|
Modifier and Type | Method and Description |
---|---|
void |
JWEHeaderFilter.setAcceptedEncryptionMethods(Set<EncryptionMethod> acceptedEncs)
Sets the names of the accepted encryption methods.
|
void |
DefaultJWEHeaderFilter.setAcceptedEncryptionMethods(Set<EncryptionMethod> acceptedEncs) |
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.