Class EncryptionConstants
- java.lang.Object
-
- org.opensaml.xmlsec.encryption.support.EncryptionConstants
-
public final class EncryptionConstants extends Object
Constants defined in or related to the XML Encryption 1.0 and 1.1 specifications.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALGO_ID_BLOCKCIPHER_AES128
Block Encryption - REQUIRED AES-128.static String
ALGO_ID_BLOCKCIPHER_AES128_GCM
Block Encryption - REQUIRED AES128-GCM.static String
ALGO_ID_BLOCKCIPHER_AES192
Block Encryption - OPTIONAL AES-192.static String
ALGO_ID_BLOCKCIPHER_AES192_GCM
Block Encryption - OPTIONAL AES192-GCM.static String
ALGO_ID_BLOCKCIPHER_AES256
Block Encryption - REQUIRED AES-256.static String
ALGO_ID_BLOCKCIPHER_AES256_GCM
Block Encryption - OPTIONAL AES256-GCM.static String
ALGO_ID_BLOCKCIPHER_TRIPLEDES
Block Encryption - REQUIRED TRIPLEDES.static String
ALGO_ID_DIGEST_RIPEMD160
Message Digest - OPTIONAL RIPEMD-160.static String
ALGO_ID_DIGEST_SHA256
Message Digest - REQUIRED SHA256.static String
ALGO_ID_DIGEST_SHA512
Message Digest - OPTIONAL SHA512.static String
ALGO_ID_KEYAGREEMENT_DH
Key Agreement - OPTIONAL Diffie-Hellman.static String
ALGO_ID_KEYTRANSPORT_RSA15
Key Transport - OPTIONAL RSA-v1.5.static String
ALGO_ID_KEYTRANSPORT_RSAOAEP
Key Transport - REQUIRED RSA-OAEP (including MGF1 with SHA1).static String
ALGO_ID_KEYTRANSPORT_RSAOAEP11
Key Transport - OPTIONAL RSA-OAEP.static String
ALGO_ID_KEYWRAP_AES128
Symmetric Key Wrap - REQUIRED AES-128 KeyWrap.static String
ALGO_ID_KEYWRAP_AES192
Symmetric Key Wrap - OPTIONAL AES-192 KeyWrap.static String
ALGO_ID_KEYWRAP_AES256
Symmetric Key Wrap - REQUIRED AES-256 KeyWrap.static String
ALGO_ID_KEYWRAP_TRIPLEDES
Symmetric Key Wrap - REQUIRED TRIPLEDES KeyWrap.static String
ALGO_ID_MGF1_SHA1
Mask Generation Function - MGF1 with SHA-1.static String
ALGO_ID_MGF1_SHA224
Mask Generation Function - MGF1 with SHA-224.static String
ALGO_ID_MGF1_SHA256
Mask Generation Function - MGF1 with SHA-256.static String
ALGO_ID_MGF1_SHA384
Mask Generation Function - MGF1 with SHA-384.static String
ALGO_ID_MGF1_SHA512
Mask Generation Function - MGF1 with SHA-512.static String
TYPE_CONTENT
URI for Content.static String
TYPE_DERIVED_KEY
URI for DerivedKey.static String
TYPE_ELEMENT
URI for Element.static String
TYPE_ENCRYPTED_KEY
URI for EncryptedKey.static String
TYPE_ENCRYPTION_PROPERTIES
URI for EncryptionProperties.static String
TYPE_KEYINFO_DH_KEYVALUE
URI for DHKeyValue.static String
XMLENC_NS
XML Encryption namespace.static String
XMLENC_PREFIX
XML Encryption QName prefix.static String
XMLENC11_NS
XML Encryption 1.1 namespace.static String
XMLENC11_PREFIX
XML Encryption 1.1 QName prefix.
-
Constructor Summary
Constructors Modifier Constructor Description private
EncryptionConstants()
Constructor.
-
-
-
Field Detail
-
XMLENC_NS
public static final String XMLENC_NS
XML Encryption namespace.- See Also:
- Constant Field Values
-
XMLENC_PREFIX
public static final String XMLENC_PREFIX
XML Encryption QName prefix.- See Also:
- Constant Field Values
-
TYPE_CONTENT
public static final String TYPE_CONTENT
URI for Content.- See Also:
- Constant Field Values
-
TYPE_ELEMENT
public static final String TYPE_ELEMENT
URI for Element.- See Also:
- Constant Field Values
-
TYPE_ENCRYPTION_PROPERTIES
public static final String TYPE_ENCRYPTION_PROPERTIES
URI for EncryptionProperties.- See Also:
- Constant Field Values
-
TYPE_ENCRYPTED_KEY
public static final String TYPE_ENCRYPTED_KEY
URI for EncryptedKey.- See Also:
- Constant Field Values
-
TYPE_KEYINFO_DH_KEYVALUE
public static final String TYPE_KEYINFO_DH_KEYVALUE
URI for DHKeyValue.- See Also:
- Constant Field Values
-
ALGO_ID_BLOCKCIPHER_TRIPLEDES
public static final String ALGO_ID_BLOCKCIPHER_TRIPLEDES
Block Encryption - REQUIRED TRIPLEDES.- See Also:
- Constant Field Values
-
ALGO_ID_BLOCKCIPHER_AES128
public static final String ALGO_ID_BLOCKCIPHER_AES128
Block Encryption - REQUIRED AES-128.- See Also:
- Constant Field Values
-
ALGO_ID_BLOCKCIPHER_AES256
public static final String ALGO_ID_BLOCKCIPHER_AES256
Block Encryption - REQUIRED AES-256.- See Also:
- Constant Field Values
-
ALGO_ID_BLOCKCIPHER_AES192
public static final String ALGO_ID_BLOCKCIPHER_AES192
Block Encryption - OPTIONAL AES-192.- See Also:
- Constant Field Values
-
ALGO_ID_KEYTRANSPORT_RSA15
public static final String ALGO_ID_KEYTRANSPORT_RSA15
Key Transport - OPTIONAL RSA-v1.5.- See Also:
- Constant Field Values
-
ALGO_ID_KEYTRANSPORT_RSAOAEP
public static final String ALGO_ID_KEYTRANSPORT_RSAOAEP
Key Transport - REQUIRED RSA-OAEP (including MGF1 with SHA1).- See Also:
- Constant Field Values
-
ALGO_ID_KEYAGREEMENT_DH
public static final String ALGO_ID_KEYAGREEMENT_DH
Key Agreement - OPTIONAL Diffie-Hellman.- See Also:
- Constant Field Values
-
ALGO_ID_KEYWRAP_TRIPLEDES
public static final String ALGO_ID_KEYWRAP_TRIPLEDES
Symmetric Key Wrap - REQUIRED TRIPLEDES KeyWrap.- See Also:
- Constant Field Values
-
ALGO_ID_KEYWRAP_AES128
public static final String ALGO_ID_KEYWRAP_AES128
Symmetric Key Wrap - REQUIRED AES-128 KeyWrap.- See Also:
- Constant Field Values
-
ALGO_ID_KEYWRAP_AES256
public static final String ALGO_ID_KEYWRAP_AES256
Symmetric Key Wrap - REQUIRED AES-256 KeyWrap.- See Also:
- Constant Field Values
-
ALGO_ID_KEYWRAP_AES192
public static final String ALGO_ID_KEYWRAP_AES192
Symmetric Key Wrap - OPTIONAL AES-192 KeyWrap.- See Also:
- Constant Field Values
-
ALGO_ID_DIGEST_SHA256
public static final String ALGO_ID_DIGEST_SHA256
Message Digest - REQUIRED SHA256.- See Also:
- Constant Field Values
-
ALGO_ID_DIGEST_SHA512
public static final String ALGO_ID_DIGEST_SHA512
Message Digest - OPTIONAL SHA512.- See Also:
- Constant Field Values
-
ALGO_ID_DIGEST_RIPEMD160
public static final String ALGO_ID_DIGEST_RIPEMD160
Message Digest - OPTIONAL RIPEMD-160.- See Also:
- Constant Field Values
-
XMLENC11_NS
public static final String XMLENC11_NS
XML Encryption 1.1 namespace.- See Also:
- Constant Field Values
-
XMLENC11_PREFIX
public static final String XMLENC11_PREFIX
XML Encryption 1.1 QName prefix.- See Also:
- Constant Field Values
-
ALGO_ID_KEYTRANSPORT_RSAOAEP11
public static final String ALGO_ID_KEYTRANSPORT_RSAOAEP11
Key Transport - OPTIONAL RSA-OAEP.- See Also:
- Constant Field Values
-
ALGO_ID_BLOCKCIPHER_AES128_GCM
public static final String ALGO_ID_BLOCKCIPHER_AES128_GCM
Block Encryption - REQUIRED AES128-GCM.- See Also:
- Constant Field Values
-
ALGO_ID_BLOCKCIPHER_AES192_GCM
public static final String ALGO_ID_BLOCKCIPHER_AES192_GCM
Block Encryption - OPTIONAL AES192-GCM.- See Also:
- Constant Field Values
-
ALGO_ID_BLOCKCIPHER_AES256_GCM
public static final String ALGO_ID_BLOCKCIPHER_AES256_GCM
Block Encryption - OPTIONAL AES256-GCM.- See Also:
- Constant Field Values
-
ALGO_ID_MGF1_SHA1
public static final String ALGO_ID_MGF1_SHA1
Mask Generation Function - MGF1 with SHA-1.- See Also:
- Constant Field Values
-
ALGO_ID_MGF1_SHA224
public static final String ALGO_ID_MGF1_SHA224
Mask Generation Function - MGF1 with SHA-224.- See Also:
- Constant Field Values
-
ALGO_ID_MGF1_SHA256
public static final String ALGO_ID_MGF1_SHA256
Mask Generation Function - MGF1 with SHA-256.- See Also:
- Constant Field Values
-
ALGO_ID_MGF1_SHA384
public static final String ALGO_ID_MGF1_SHA384
Mask Generation Function - MGF1 with SHA-384.- See Also:
- Constant Field Values
-
ALGO_ID_MGF1_SHA512
public static final String ALGO_ID_MGF1_SHA512
Mask Generation Function - MGF1 with SHA-512.- See Also:
- Constant Field Values
-
TYPE_DERIVED_KEY
public static final String TYPE_DERIVED_KEY
URI for DerivedKey.- See Also:
- Constant Field Values
-
-