Package | Description |
---|---|
com.nimbusds.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
Modifier and Type | Field and Description |
---|---|
static EncryptionMethod |
EncryptionMethod.A128CBC_HS256
Composite Authenticated Encryption algorithm using Advanced
Encryption Standard (AES) in Cipher Block Chaining (CBC) mode with
PKCS #5 padding (NIST.800-38A) with an integrity calculation using
HMAC SHA-256, using a 256 bit CMK (and a 128 bit CEK) (required).
|
static EncryptionMethod |
EncryptionMethod.A128GCM
Advanced Encryption Standard (AES) in Galois/Counter Mode (GCM)
(NIST.800-38D) using 128 bit keys (recommended).
|
static EncryptionMethod |
EncryptionMethod.A256CBC_HS512
Composite Authenticated Encryption algorithm using Advanced
Encryption Standard (AES) in Cipher Block Chaining (CBC) mode with
PKCS #5 padding (NIST.800-38A) with an integrity calculation using
HMAC SHA-512, using a 512 bit CMK (and a 256 bit CEK) (required).
|
static EncryptionMethod |
EncryptionMethod.A256GCM
Advanced Encryption Standard (AES) in Galois/Counter Mode (GCM)
(NIST.800-38D) using 256 bit keys (recommended).
|
Modifier and Type | Method and Description |
---|---|
EncryptionMethod |
ReadOnlyJWEHeader.getEncryptionMethod()
Gets the encryption method (
enc ) parameter. |
EncryptionMethod |
JWEHeader.getEncryptionMethod() |
static EncryptionMethod |
EncryptionMethod.parse(java.lang.String s)
Parses an encryption method from the specified string.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<EncryptionMethod> |
JWEHeaderFilter.getAcceptedEncryptionMethods()
Gets the names of the accepted encryption methods.
|
java.util.Set<EncryptionMethod> |
DefaultJWEHeaderFilter.getAcceptedEncryptionMethods() |
java.util.Set<EncryptionMethod> |
JWEAlgorithmProvider.supportedEncryptionMethods()
Returns the names of the supported encryption methods.
|
java.util.Set<EncryptionMethod> |
DefaultJWEHeaderFilter.supportedEncryptionMethods()
Returns the names of the supported encryption methods.
|
Modifier and Type | Method and Description |
---|---|
void |
JWEHeaderFilter.setAcceptedEncryptionMethods(java.util.Set<EncryptionMethod> acceptedEncs)
Sets the names of the accepted encryption methods.
|
void |
DefaultJWEHeaderFilter.setAcceptedEncryptionMethods(java.util.Set<EncryptionMethod> acceptedEncs) |
Constructor and Description |
---|
JWEHeader(JWEAlgorithm alg,
EncryptionMethod enc)
Creates a new JSON Web Encryption (JWE) header.
|
Constructor and Description |
---|
DefaultJWEHeaderFilter(java.util.Set<JWEAlgorithm> algs,
java.util.Set<EncryptionMethod> encs)
Creates a new JWE header filter.
|
DefaultJWEHeaderFilter(java.util.Set<JWEAlgorithm> algs,
java.util.Set<EncryptionMethod> encs,
java.util.Set<java.lang.String> acceptedParams)
Creates a new JWE header filter.
|
Copyright © 2013 NimbusDS. All Rights Reserved.