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 String
CIPHER_MODE_CBC
Cipher mode: "CBC".static String
CIPHER_MODE_ECB
Cipher mode: "ECB".static String
CIPHER_MODE_GCM
Cipher mode: "GCM".static String
CIPHER_PADDING_ISO10126
Cipher padding: "ISO10126Padding".static String
CIPHER_PADDING_NONE
Cipher padding: "NoPadding".static String
CIPHER_PADDING_OAEP
Cipher padding: "OAEPPadding".static String
CIPHER_PADDING_PKCS1
Cipher padding: "PKCS1Padding".static String
DIGEST_MD5
Digest algorithm: "MD5".static String
DIGEST_RIPEMD160
Digest algorithm: "RIPEMD160".static String
DIGEST_SHA1
Digest algorithm: "SHA-1".static String
DIGEST_SHA224
Digest algorithm: "SHA-224".static String
DIGEST_SHA256
Digest algorithm: "SHA-256".static String
DIGEST_SHA384
Digest algorithm: "SHA-384".static String
DIGEST_SHA512
Digest algorithm: "SHA-512".static String
HMAC_MD5
MAC algorithm: "HmacMD5".static String
HMAC_RIPEMD160
MAC algorithm: "HMACRIPEMD160".static String
HMAC_SHA1
MAC algorithm: "HmacSHA1".static String
HMAC_SHA224
MAC algorithm: "HmacSHA224".static String
HMAC_SHA256
MAC algorithm: "HmacSHA256".static String
HMAC_SHA384
MAC algorithm: "HmacSHA384".static String
HMAC_SHA512
MAC algorithm: "HmacSHA512".static String
KEY_ALGO_AES
Key algorithm: "AES".static String
KEY_ALGO_DES
Key algorithm: "DES".static String
KEY_ALGO_DESEDE
Key algorithm: "DESede".static String
KEY_ALGO_DSA
Key algorithm: "DSA".static String
KEY_ALGO_EC
Key algorithm: "EC".static String
KEY_ALGO_RSA
Key algorithm: "RSA".static String
KEY_FORMAT_RAW
Key format: "RAW".static String
KEYWRAP_ALGO_AES
Symmetric key wrap algorithm: "AESWrap".static String
KEYWRAP_ALGO_DESEDE
Symmetric key wrap algorithm: "DESedeWrap".static String
SIGNATURE_DSA_SHA1
Signature algorithm: "SHA1withDSA".static String
SIGNATURE_DSA_SHA224
Signature algorithm: "SHA224withDSA".static String
SIGNATURE_DSA_SHA256
Signature algorithm: "SHA256withDSA".static String
SIGNATURE_ECDSA_SHA1
Signature algorithm: "SHA1withECDSA".static String
SIGNATURE_ECDSA_SHA224
Signature algorithm: "SHA224withECDSA".static String
SIGNATURE_ECDSA_SHA256
Signature algorithm: "SHA256withECDSA".static String
SIGNATURE_ECDSA_SHA384
Signature algorithm: "SHA384withECDSA".static String
SIGNATURE_ECDSA_SHA512
Signature algorithm: "SHA512withECDSA".static String
SIGNATURE_RSA_MD5
Signature algorithm: "MD5withRSA".static String
SIGNATURE_RSA_RIPEMD160
Signature algorithm: "RIPEMD160withRSA".static String
SIGNATURE_RSA_SHA1
Signature algorithm: "SHA1withRSA".static String
SIGNATURE_RSA_SHA224
Signature algorithm: "SHA224withRSA".static String
SIGNATURE_RSA_SHA256
Signature algorithm: "SHA256withRSA".static String
SIGNATURE_RSA_SHA384
Signature algorithm: "SHA384withRSA".static String
SIGNATURE_RSA_SHA512
Signature algorithm: "SHA512withRSA".
-
Constructor Summary
Constructors Modifier Constructor Description private
JCAConstants()
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
-
-