Package org.opensaml.security.crypto
Class JCAConstants
- java.lang.Object
-
- org.opensaml.security.crypto.JCAConstants
-
public final class JCAConstants extends Object
Various useful constants defined in and/or used with the Java Cryptography Architecture (JCA) specification.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCIPHER_MODE_CBCCipher mode: "CBC".static StringCIPHER_MODE_ECBCipher mode: "ECB".static StringCIPHER_MODE_GCMCipher mode: "GCM".static StringCIPHER_PADDING_ISO10126Cipher padding: "ISO10126Padding".static StringCIPHER_PADDING_NONECipher padding: "NoPadding".static StringCIPHER_PADDING_OAEPCipher padding: "OAEPPadding".static StringCIPHER_PADDING_PKCS1Cipher padding: "PKCS1Padding".static StringDIGEST_MD5Digest algorithm: "MD5".static StringDIGEST_RIPEMD160Digest algorithm: "RIPEMD160".static StringDIGEST_SHA1Digest algorithm: "SHA-1".static StringDIGEST_SHA224Digest algorithm: "SHA-224".static StringDIGEST_SHA256Digest algorithm: "SHA-256".static StringDIGEST_SHA384Digest algorithm: "SHA-384".static StringDIGEST_SHA512Digest algorithm: "SHA-512".static StringHMAC_MD5MAC algorithm: "HmacMD5".static StringHMAC_RIPEMD160MAC algorithm: "HMACRIPEMD160".static StringHMAC_SHA1MAC algorithm: "HmacSHA1".static StringHMAC_SHA224MAC algorithm: "HmacSHA224".static StringHMAC_SHA256MAC algorithm: "HmacSHA256".static StringHMAC_SHA384MAC algorithm: "HmacSHA384".static StringHMAC_SHA512MAC algorithm: "HmacSHA512".static StringKEY_ALGO_AESKey algorithm: "AES".static StringKEY_ALGO_DESKey algorithm: "DES".static StringKEY_ALGO_DESEDEKey algorithm: "DESede".static StringKEY_ALGO_DSAKey algorithm: "DSA".static StringKEY_ALGO_ECKey algorithm: "EC".static StringKEY_ALGO_RSAKey algorithm: "RSA".static StringKEY_FORMAT_RAWKey format: "RAW".static StringKEYWRAP_ALGO_AESSymmetric key wrap algorithm: "AESWrap".static StringKEYWRAP_ALGO_DESEDESymmetric key wrap algorithm: "DESedeWrap".static StringSIGNATURE_DSA_SHA1Signature algorithm: "SHA1withDSA".static StringSIGNATURE_DSA_SHA224Signature algorithm: "SHA224withDSA".static StringSIGNATURE_DSA_SHA256Signature algorithm: "SHA256withDSA".static StringSIGNATURE_ECDSA_SHA1Signature algorithm: "SHA1withECDSA".static StringSIGNATURE_ECDSA_SHA224Signature algorithm: "SHA224withECDSA".static StringSIGNATURE_ECDSA_SHA256Signature algorithm: "SHA256withECDSA".static StringSIGNATURE_ECDSA_SHA384Signature algorithm: "SHA384withECDSA".static StringSIGNATURE_ECDSA_SHA512Signature algorithm: "SHA512withECDSA".static StringSIGNATURE_RSA_MD5Signature algorithm: "MD5withRSA".static StringSIGNATURE_RSA_RIPEMD160Signature algorithm: "RIPEMD160withRSA".static StringSIGNATURE_RSA_SHA1Signature algorithm: "SHA1withRSA".static StringSIGNATURE_RSA_SHA224Signature algorithm: "SHA224withRSA".static StringSIGNATURE_RSA_SHA256Signature algorithm: "SHA256withRSA".static StringSIGNATURE_RSA_SHA384Signature algorithm: "SHA384withRSA".static StringSIGNATURE_RSA_SHA512Signature algorithm: "SHA512withRSA".
-
Constructor Summary
Constructors Modifier Constructor Description privateJCAConstants()Constructor.
-
-
-
Field Detail
-
KEY_ALGO_RSA
public static final String KEY_ALGO_RSA
Key algorithm: "RSA".- See Also:
- Constant Field Values
-
KEY_ALGO_DSA
public static final String KEY_ALGO_DSA
Key algorithm: "DSA".- See Also:
- Constant Field Values
-
KEY_ALGO_EC
public static final String KEY_ALGO_EC
Key algorithm: "EC".- See Also:
- Constant Field Values
-
KEY_ALGO_AES
public static final String KEY_ALGO_AES
Key algorithm: "AES".- See Also:
- Constant Field Values
-
KEY_ALGO_DES
public static final String KEY_ALGO_DES
Key algorithm: "DES".- See Also:
- Constant Field Values
-
KEY_ALGO_DESEDE
public static final String KEY_ALGO_DESEDE
Key algorithm: "DESede".- See Also:
- Constant Field Values
-
KEY_FORMAT_RAW
public static final String KEY_FORMAT_RAW
Key format: "RAW".- See Also:
- Constant Field Values
-
CIPHER_MODE_ECB
public static final String CIPHER_MODE_ECB
Cipher mode: "ECB".- See Also:
- Constant Field Values
-
CIPHER_MODE_CBC
public static final String CIPHER_MODE_CBC
Cipher mode: "CBC".- See Also:
- Constant Field Values
-
CIPHER_MODE_GCM
public static final String CIPHER_MODE_GCM
Cipher mode: "GCM".- See Also:
- Constant Field Values
-
CIPHER_PADDING_NONE
public static final String CIPHER_PADDING_NONE
Cipher padding: "NoPadding".- See Also:
- Constant Field Values
-
CIPHER_PADDING_ISO10126
public static final String CIPHER_PADDING_ISO10126
Cipher padding: "ISO10126Padding".- See Also:
- Constant Field Values
-
CIPHER_PADDING_PKCS1
public static final String CIPHER_PADDING_PKCS1
Cipher padding: "PKCS1Padding".- See Also:
- Constant Field Values
-
CIPHER_PADDING_OAEP
public static final String CIPHER_PADDING_OAEP
Cipher padding: "OAEPPadding".- See Also:
- Constant Field Values
-
KEYWRAP_ALGO_DESEDE
public static final String KEYWRAP_ALGO_DESEDE
Symmetric key wrap algorithm: "DESedeWrap".- See Also:
- Constant Field Values
-
KEYWRAP_ALGO_AES
public static final String KEYWRAP_ALGO_AES
Symmetric key wrap algorithm: "AESWrap".- See Also:
- Constant Field Values
-
DIGEST_MD5
public static final String DIGEST_MD5
Digest algorithm: "MD5".- See Also:
- Constant Field Values
-
DIGEST_RIPEMD160
public static final String DIGEST_RIPEMD160
Digest algorithm: "RIPEMD160".- See Also:
- Constant Field Values
-
DIGEST_SHA1
public static final String DIGEST_SHA1
Digest algorithm: "SHA-1".- See Also:
- Constant Field Values
-
DIGEST_SHA224
public static final String DIGEST_SHA224
Digest algorithm: "SHA-224".- See Also:
- Constant Field Values
-
DIGEST_SHA256
public static final String DIGEST_SHA256
Digest algorithm: "SHA-256".- See Also:
- Constant Field Values
-
DIGEST_SHA384
public static final String DIGEST_SHA384
Digest algorithm: "SHA-384".- See Also:
- Constant Field Values
-
DIGEST_SHA512
public static final String DIGEST_SHA512
Digest algorithm: "SHA-512".- See Also:
- Constant Field Values
-
SIGNATURE_DSA_SHA1
public static final String SIGNATURE_DSA_SHA1
Signature algorithm: "SHA1withDSA".- See Also:
- Constant Field Values
-
SIGNATURE_DSA_SHA224
public static final String SIGNATURE_DSA_SHA224
Signature algorithm: "SHA224withDSA".- See Also:
- Constant Field Values
-
SIGNATURE_DSA_SHA256
public static final String SIGNATURE_DSA_SHA256
Signature algorithm: "SHA256withDSA".- See Also:
- Constant Field Values
-
SIGNATURE_RSA_MD5
public static final String SIGNATURE_RSA_MD5
Signature algorithm: "MD5withRSA".- See Also:
- Constant Field Values
-
SIGNATURE_RSA_RIPEMD160
public static final String SIGNATURE_RSA_RIPEMD160
Signature algorithm: "RIPEMD160withRSA".- See Also:
- Constant Field Values
-
SIGNATURE_RSA_SHA1
public static final String SIGNATURE_RSA_SHA1
Signature algorithm: "SHA1withRSA".- See Also:
- Constant Field Values
-
SIGNATURE_RSA_SHA224
public static final String SIGNATURE_RSA_SHA224
Signature algorithm: "SHA224withRSA".- See Also:
- Constant Field Values
-
SIGNATURE_RSA_SHA256
public static final String SIGNATURE_RSA_SHA256
Signature algorithm: "SHA256withRSA".- See Also:
- Constant Field Values
-
SIGNATURE_RSA_SHA384
public static final String SIGNATURE_RSA_SHA384
Signature algorithm: "SHA384withRSA".- See Also:
- Constant Field Values
-
SIGNATURE_RSA_SHA512
public static final String SIGNATURE_RSA_SHA512
Signature algorithm: "SHA512withRSA".- See Also:
- Constant Field Values
-
SIGNATURE_ECDSA_SHA1
public static final String SIGNATURE_ECDSA_SHA1
Signature algorithm: "SHA1withECDSA".- See Also:
- Constant Field Values
-
SIGNATURE_ECDSA_SHA224
public static final String SIGNATURE_ECDSA_SHA224
Signature algorithm: "SHA224withECDSA".- See Also:
- Constant Field Values
-
SIGNATURE_ECDSA_SHA256
public static final String SIGNATURE_ECDSA_SHA256
Signature algorithm: "SHA256withECDSA".- See Also:
- Constant Field Values
-
SIGNATURE_ECDSA_SHA384
public static final String SIGNATURE_ECDSA_SHA384
Signature algorithm: "SHA384withECDSA".- See Also:
- Constant Field Values
-
SIGNATURE_ECDSA_SHA512
public static final String SIGNATURE_ECDSA_SHA512
Signature algorithm: "SHA512withECDSA".- See Also:
- Constant Field Values
-
HMAC_MD5
public static final String HMAC_MD5
MAC algorithm: "HmacMD5".- See Also:
- Constant Field Values
-
HMAC_RIPEMD160
public static final String HMAC_RIPEMD160
MAC algorithm: "HMACRIPEMD160".- See Also:
- Constant Field Values
-
HMAC_SHA1
public static final String HMAC_SHA1
MAC algorithm: "HmacSHA1".- See Also:
- Constant Field Values
-
HMAC_SHA224
public static final String HMAC_SHA224
MAC algorithm: "HmacSHA224".- See Also:
- Constant Field Values
-
HMAC_SHA256
public static final String HMAC_SHA256
MAC algorithm: "HmacSHA256".- See Also:
- Constant Field Values
-
HMAC_SHA384
public static final String HMAC_SHA384
MAC algorithm: "HmacSHA384".- See Also:
- Constant Field Values
-
HMAC_SHA512
public static final String HMAC_SHA512
MAC algorithm: "HmacSHA512".- See Also:
- Constant Field Values
-
-