Class EncryptionConstants
java.lang.Object
org.opensaml.xmlsec.encryption.support.EncryptionConstants
Constants defined in or related to the XML Encryption 1.0 and 1.1 specifications.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Block Encryption - REQUIRED AES-128.static final String
Block Encryption - REQUIRED AES128-GCM.static final String
Block Encryption - OPTIONAL AES-192.static final String
Block Encryption - OPTIONAL AES192-GCM.static final String
Block Encryption - REQUIRED AES-256.static final String
Block Encryption - OPTIONAL AES256-GCM.static final String
Block Encryption - REQUIRED TRIPLEDES.static final String
Message Digest - OPTIONAL RIPEMD-160.static final String
Message Digest - REQUIRED SHA256.static final String
Message Digest - OPTIONAL SHA512.static final String
Key Agreement - OPTIONAL Diffie-Hellman with Legacy Key Derivation Function.static final String
Key Agreement - Diffie-Hellman with Explicit Key Derivation Function.static final String
Key Agreement - Elliptic Curve Diffie-Hellman (ECDH) Ephemeral-Static Mode.static final String
Key Derivation Method - ConcatKDF.static final String
Key Derivation Method - PBKDF2.static final String
Key Transport - OPTIONAL RSA-v1.5.static final String
Key Transport - REQUIRED RSA-OAEP (including MGF1 with SHA1).static final String
Key Transport - OPTIONAL RSA-OAEP.static final String
Symmetric Key Wrap - REQUIRED AES-128 KeyWrap.static final String
Symmetric Key Wrap - OPTIONAL AES-192 KeyWrap.static final String
Symmetric Key Wrap - REQUIRED AES-256 KeyWrap.static final String
Symmetric Key Wrap - REQUIRED TRIPLEDES KeyWrap.static final String
Mask Generation Function - MGF1 with SHA-1.static final String
Mask Generation Function - MGF1 with SHA-224.static final String
Mask Generation Function - MGF1 with SHA-256.static final String
Mask Generation Function - MGF1 with SHA-384.static final String
Mask Generation Function - MGF1 with SHA-512.static final String
URI for Content.static final String
URI for DerivedKey.static final String
URI for DHKeyValue.static final String
URI for ECKeyValue.static final String
URI for Element.static final String
URI for EncryptedKey.static final String
URI for EncryptionProperties.static final String
URI for DHKeyValue.static final String
XML Encryption namespace.static final String
XML Encryption QName prefix.static final String
XML Encryption 1.1 namespace.static final String
XML Encryption 1.1 QName prefix. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
XMLENC_NS
XML Encryption namespace.- See Also:
-
XMLENC_PREFIX
XML Encryption QName prefix.- See Also:
-
TYPE_CONTENT
URI for Content.- See Also:
-
TYPE_ELEMENT
URI for Element.- See Also:
-
TYPE_ENCRYPTION_PROPERTIES
URI for EncryptionProperties.- See Also:
-
TYPE_ENCRYPTED_KEY
URI for EncryptedKey.- See Also:
-
TYPE_KEYINFO_DH_KEYVALUE
URI for DHKeyValue.- See Also:
-
ALGO_ID_BLOCKCIPHER_TRIPLEDES
Block Encryption - REQUIRED TRIPLEDES.- See Also:
-
ALGO_ID_BLOCKCIPHER_AES128
Block Encryption - REQUIRED AES-128.- See Also:
-
ALGO_ID_BLOCKCIPHER_AES256
Block Encryption - REQUIRED AES-256.- See Also:
-
ALGO_ID_BLOCKCIPHER_AES192
Block Encryption - OPTIONAL AES-192.- See Also:
-
ALGO_ID_KEYTRANSPORT_RSA15
Key Transport - OPTIONAL RSA-v1.5.- See Also:
-
ALGO_ID_KEYTRANSPORT_RSAOAEP
Key Transport - REQUIRED RSA-OAEP (including MGF1 with SHA1).- See Also:
-
ALGO_ID_KEYAGREEMENT_DH
Key Agreement - OPTIONAL Diffie-Hellman with Legacy Key Derivation Function.- See Also:
-
TYPE_DH_KEY_VALUE
URI for DHKeyValue.- See Also:
-
ALGO_ID_KEYWRAP_TRIPLEDES
Symmetric Key Wrap - REQUIRED TRIPLEDES KeyWrap.- See Also:
-
ALGO_ID_KEYWRAP_AES128
Symmetric Key Wrap - REQUIRED AES-128 KeyWrap.- See Also:
-
ALGO_ID_KEYWRAP_AES256
Symmetric Key Wrap - REQUIRED AES-256 KeyWrap.- See Also:
-
ALGO_ID_KEYWRAP_AES192
Symmetric Key Wrap - OPTIONAL AES-192 KeyWrap.- See Also:
-
ALGO_ID_DIGEST_SHA256
Message Digest - REQUIRED SHA256.- See Also:
-
ALGO_ID_DIGEST_SHA512
Message Digest - OPTIONAL SHA512.- See Also:
-
ALGO_ID_DIGEST_RIPEMD160
Message Digest - OPTIONAL RIPEMD-160.- See Also:
-
XMLENC11_NS
XML Encryption 1.1 namespace.- See Also:
-
XMLENC11_PREFIX
XML Encryption 1.1 QName prefix.- See Also:
-
ALGO_ID_KEYTRANSPORT_RSAOAEP11
Key Transport - OPTIONAL RSA-OAEP.- See Also:
-
ALGO_ID_BLOCKCIPHER_AES128_GCM
Block Encryption - REQUIRED AES128-GCM.- See Also:
-
ALGO_ID_BLOCKCIPHER_AES192_GCM
Block Encryption - OPTIONAL AES192-GCM.- See Also:
-
ALGO_ID_BLOCKCIPHER_AES256_GCM
Block Encryption - OPTIONAL AES256-GCM.- See Also:
-
ALGO_ID_MGF1_SHA1
Mask Generation Function - MGF1 with SHA-1.- See Also:
-
ALGO_ID_MGF1_SHA224
Mask Generation Function - MGF1 with SHA-224.- See Also:
-
ALGO_ID_MGF1_SHA256
Mask Generation Function - MGF1 with SHA-256.- See Also:
-
ALGO_ID_MGF1_SHA384
Mask Generation Function - MGF1 with SHA-384.- See Also:
-
ALGO_ID_MGF1_SHA512
Mask Generation Function - MGF1 with SHA-512.- See Also:
-
TYPE_DERIVED_KEY
URI for DerivedKey.- See Also:
-
TYPE_EC_KEY_VALUE
URI for ECKeyValue.- See Also:
-
ALGO_ID_KEYAGREEMENT_DH_EXPLICIT_KDF
Key Agreement - Diffie-Hellman with Explicit Key Derivation Function.- See Also:
-
ALGO_ID_KEYAGREEMENT_ECDH_ES
Key Agreement - Elliptic Curve Diffie-Hellman (ECDH) Ephemeral-Static Mode.- See Also:
-
ALGO_ID_KEYDERIVATION_CONCATKDF
Key Derivation Method - ConcatKDF.- See Also:
-
ALGO_ID_KEYDERIVATION_PBKDF2
Key Derivation Method - PBKDF2.- See Also:
-
-
Constructor Details
-
EncryptionConstants
private EncryptionConstants()Constructor.
-