public static interface JsonConstants.JWE
http://self-issued.info/docs/draft-ietf-jose-json-web-encryption.html
Modifier and Type | Field and Description |
---|---|
static String |
ALG_RSA_OAEP
JWE Algorithm Method : RSAES using Optimal Asymmetric Encryption Padding (OAEP) (RFC 3447), with the default
parameters specified by RFC 3447 in section A.2.1 (recommended).
|
static String |
ALG_RSA_OAEP_256
JWE Algorithm Method : RSAES using Optimal Asymmetric Encryption Padding (OAEP) (RFC 3447), with the SHA-256 hash
function and the MGF1 with SHA-256 mask generation function (recommended).
|
static String |
ALG_RSA1_5
JWE Algorithm Method : RSAES-PKCS1-V1_5 (RFC 3447) (required).
|
static String |
CEK_BITLENGTH
The Content Encryption Key (CEK) bit length.
|
static String |
COMPRESSION_ALG
The zip (compression algorithm) applied to the Plaintext before encryption, if any.
|
static String |
ENC_A128CBC_HS256
JSON Web Encryption Method : AES_128_CBC_HMAC_SHA_256 authenticated encryption using a 256 bit key (required).
|
static String |
ENC_A128GCM
JSON Web Encryption Method : AES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 128 bit key (recommended).
|
static String |
ENC_A192CBC_HS384
JSON Web Encryption Method : AES_192_CBC_HMAC_SHA_384 authenticated encryption using a 384 bit key (optional).
|
static String |
ENC_A192GCM
JSON Web Encryption Method : AES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 192 bit key (optional).
|
static String |
ENC_A256CBC_HS512
JSON Web Encryption Method : AES_256_CBC_HMAC_SHA_512 authenticated encryption using a 512 bit key (required).
|
static String |
ENC_A256GCM
JSON Web Encryption Method : AES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 256 bit key (recommended).
|
static String |
HEADER_CRITICAL_PARAMETER
The crit (critical) Header Parameter value is an array listing the Header Parameter names present in the JOSE Header
that use those extensions.
|
static final String HEADER_CRITICAL_PARAMETER
static final String CEK_BITLENGTH
static final String COMPRESSION_ALG
Other values MAY be used. Compression algorithm values can be registered in the IANA JSON Web Encryption Compression Algorithm registry defined in [JWA]. The zip value is a case-sensitive string. If no zip parameter is present, no compression is applied to the Plaintext before encryption.
static final String ENC_A128CBC_HS256
static final String ENC_A192CBC_HS384
static final String ENC_A256CBC_HS512
static final String ENC_A128GCM
static final String ENC_A192GCM
static final String ENC_A256GCM
static final String ALG_RSA1_5
static final String ALG_RSA_OAEP
static final String ALG_RSA_OAEP_256
Copyright © 2014. All rights reserved.