Package | Description |
---|---|
com.nimbusds.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
com.nimbusds.jose.crypto |
Implementations of selected Javascript Object Signing and Encryption (JOSE)
algorithms.
|
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.A128CBC_HS256_DEPRECATED
AES_128_CBC_HMAC_SHA_256 authenticated encryption using a 256 bit
key, deprecated in JOSE draft suite version 09.
|
static EncryptionMethod |
EncryptionMethod.A128GCM
AES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 128 bit key
(recommended).
|
static EncryptionMethod |
EncryptionMethod.A192CBC_HS384
AES_192_CBC_HMAC_SHA_384 authenticated encryption using a 384 bit
key (optional).
|
static EncryptionMethod |
EncryptionMethod.A192GCM
AES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 192 bit key
(optional).
|
static EncryptionMethod |
EncryptionMethod.A256CBC_HS512
AES_256_CBC_HMAC_SHA_512 authenticated encryption using a 512 bit
key (required).
|
static EncryptionMethod |
EncryptionMethod.A256CBC_HS512_DEPRECATED
AES_256_CBC_HMAC_SHA_512 authenticated encryption using a 512 bit
key, deprecated in JOSE draft suite version 09.
|
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 |
JWEHeader.getEncryptionMethod()
Gets the encryption method (
enc ) parameter. |
static EncryptionMethod |
EncryptionMethod.parse(String s)
Parses an encryption method from the specified string.
|
Modifier and Type | Method and Description |
---|---|
Set<EncryptionMethod> |
JWEDecrypter.getAcceptedEncryptionMethods()
Gets the names of the accepted encryption methods.
|
Set<EncryptionMethod> |
JWEAlgorithmProvider.supportedEncryptionMethods()
Returns the names of the supported encryption methods.
|
Modifier and Type | Method and Description |
---|---|
void |
JWEDecrypter.setAcceptedEncryptionMethods(Set<EncryptionMethod> acceptedEncs)
Sets the names of the accepted encryption methods.
|
Constructor and Description |
---|
JWEHeader.Builder(JWEAlgorithm alg,
EncryptionMethod enc)
Creates a new JWE header builder.
|
JWEHeader(Algorithm alg,
EncryptionMethod enc,
JOSEObjectType typ,
String cty,
Set<String> crit,
URL jku,
JWK jwk,
URL x5u,
Base64URL x5t,
Base64URL x5t256,
List<Base64> x5c,
String kid,
ECKey epk,
CompressionAlgorithm zip,
Base64URL apu,
Base64URL apv,
Base64URL p2s,
int p2c,
Base64URL iv,
Base64URL tag,
Map<String,Object> customParams,
Base64URL parsedBase64URL)
Creates a new JSON Web Encryption (JWE) header.
|
JWEHeader(JWEAlgorithm alg,
EncryptionMethod enc)
Creates a new minimal JSON Web Encryption (JWE) header.
|
Modifier and Type | Method and Description |
---|---|
Set<EncryptionMethod> |
AESDecrypter.getAcceptedEncryptionMethods() |
Set<EncryptionMethod> |
RSADecrypter.getAcceptedEncryptionMethods() |
Set<EncryptionMethod> |
DirectDecrypter.getAcceptedEncryptionMethods() |
Modifier and Type | Method and Description |
---|---|
void |
AESDecrypter.setAcceptedEncryptionMethods(Set<EncryptionMethod> acceptedEncs) |
void |
RSADecrypter.setAcceptedEncryptionMethods(Set<EncryptionMethod> acceptedEncs) |
void |
DirectDecrypter.setAcceptedEncryptionMethods(Set<EncryptionMethod> acceptedEncs) |
Copyright © 2014 Connect2id Ltd.. All Rights Reserved.