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 StringBlock Encryption - REQUIRED AES-128.static final StringBlock Encryption - REQUIRED AES128-GCM.static final StringBlock Encryption - OPTIONAL AES-192.static final StringBlock Encryption - OPTIONAL AES192-GCM.static final StringBlock Encryption - REQUIRED AES-256.static final StringBlock Encryption - OPTIONAL AES256-GCM.static final StringBlock Encryption - REQUIRED TRIPLEDES.static final StringMessage Digest - OPTIONAL RIPEMD-160.static final StringMessage Digest - REQUIRED SHA256.static final StringMessage Digest - OPTIONAL SHA512.static final StringKey Agreement - OPTIONAL Diffie-Hellman with Legacy Key Derivation Function.static final StringKey Agreement - Diffie-Hellman with Explicit Key Derivation Function.static final StringKey Agreement - Elliptic Curve Diffie-Hellman (ECDH) Ephemeral-Static Mode.static final StringKey Derivation Method - ConcatKDF.static final StringKey Derivation Method - PBKDF2.static final StringKey Transport - OPTIONAL RSA-v1.5.static final StringKey Transport - REQUIRED RSA-OAEP (including MGF1 with SHA1).static final StringKey Transport - OPTIONAL RSA-OAEP.static final StringSymmetric Key Wrap - REQUIRED AES-128 KeyWrap.static final StringSymmetric Key Wrap - OPTIONAL AES-192 KeyWrap.static final StringSymmetric Key Wrap - REQUIRED AES-256 KeyWrap.static final StringSymmetric Key Wrap - REQUIRED TRIPLEDES KeyWrap.static final StringMask Generation Function - MGF1 with SHA-1.static final StringMask Generation Function - MGF1 with SHA-224.static final StringMask Generation Function - MGF1 with SHA-256.static final StringMask Generation Function - MGF1 with SHA-384.static final StringMask Generation Function - MGF1 with SHA-512.static final StringURI for Content.static final StringURI for DerivedKey.static final StringURI for DHKeyValue.static final StringURI for ECKeyValue.static final StringURI for Element.static final StringURI for EncryptedKey.static final StringURI for EncryptionProperties.static final StringURI for DHKeyValue.static final StringXML Encryption namespace.static final StringXML Encryption QName prefix.static final StringXML Encryption 1.1 namespace.static final StringXML 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.
-