Package org.opensaml.security.crypto
Class JCAConstants
java.lang.Object
org.opensaml.security.crypto.JCAConstants
Various useful constants defined in and/or used with the Java Cryptography Architecture (JCA) specification.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Cipher mode: "CBC".static final String
Cipher mode: "ECB".static final String
Cipher mode: "GCM".static final String
Cipher padding: "ISO10126Padding".static final String
Cipher padding: "NoPadding".static final String
Cipher padding: "OAEPPadding".static final String
Cipher padding: "PKCS1Padding".static final String
Digest algorithm: "MD5".static final String
Digest algorithm: "RIPEMD160".static final String
Digest algorithm: "SHA-1".static final String
Digest algorithm: "SHA-224".static final String
Digest algorithm: "SHA-256".static final String
Digest algorithm: "SHA-384".static final String
Digest algorithm: "SHA-512".static final String
MAC algorithm: "HmacMD5".static final String
MAC algorithm: "HMACRIPEMD160".static final String
MAC algorithm: "HmacSHA1".static final String
MAC algorithm: "HmacSHA224".static final String
MAC algorithm: "HmacSHA256".static final String
MAC algorithm: "HmacSHA384".static final String
MAC algorithm: "HmacSHA512".static final String
Key Agreement algorithm: Diffie-Hellman.static final String
Key Agreement algorithm: Elliptic Curve Diffie-Hellman.static final String
Key algorithm: "AES".static final String
Key algorithm: "DES".static final String
Key algorithm: "DESede".static final String
Key algorithm: "DH" (returned byKey.getAlgorithm()
).static final String
Key algorithm: "DiffieHellman" (used with key and key pair factories, generators, etc).static final String
Key algorithm: "DSA".static final String
Key algorithm: "EC".static final String
Key algorithm: "RSA".static final String
Key format: "RAW".static final String
Symmetric key wrap algorithm: "AESWrap".static final String
Symmetric key wrap algorithm: "DESedeWrap".static final String
Signature algorithm: "SHA1withDSA".static final String
Signature algorithm: "SHA224withDSA".static final String
Signature algorithm: "SHA256withDSA".static final String
Signature algorithm: "SHA1withECDSA".static final String
Signature algorithm: "SHA224withECDSA".static final String
Signature algorithm: "SHA256withECDSA".static final String
Signature algorithm: "SHA384withECDSA".static final String
Signature algorithm: "SHA512withECDSA".static final String
Signature algorithm: "MD5withRSA".static final String
Signature algorithm: "RIPEMD160withRSA".static final String
Signature algorithm: "SHA1withRSA".static final String
Signature algorithm: "SHA224withRSA".static final String
Signature algorithm: "SHA256withRSA".static final String
Signature algorithm: "SHA384withRSA".static final String
Signature algorithm: "SHA512withRSA". -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
KEY_ALGO_RSA
Key algorithm: "RSA".- See Also:
-
KEY_ALGO_DSA
Key algorithm: "DSA".- See Also:
-
KEY_ALGO_EC
Key algorithm: "EC".- See Also:
-
KEY_ALGO_AES
Key algorithm: "AES".- See Also:
-
KEY_ALGO_DES
Key algorithm: "DES".- See Also:
-
KEY_ALGO_DESEDE
Key algorithm: "DESede".- See Also:
-
KEY_ALGO_DH
Key algorithm: "DH" (returned byKey.getAlgorithm()
).- See Also:
-
KEY_ALGO_DIFFIE_HELLMAN
Key algorithm: "DiffieHellman" (used with key and key pair factories, generators, etc).- See Also:
-
KEY_FORMAT_RAW
Key format: "RAW".- See Also:
-
CIPHER_MODE_ECB
Cipher mode: "ECB".- See Also:
-
CIPHER_MODE_CBC
Cipher mode: "CBC".- See Also:
-
CIPHER_MODE_GCM
Cipher mode: "GCM".- See Also:
-
CIPHER_PADDING_NONE
Cipher padding: "NoPadding".- See Also:
-
CIPHER_PADDING_ISO10126
Cipher padding: "ISO10126Padding".- See Also:
-
CIPHER_PADDING_PKCS1
Cipher padding: "PKCS1Padding".- See Also:
-
CIPHER_PADDING_OAEP
Cipher padding: "OAEPPadding".- See Also:
-
KEYWRAP_ALGO_DESEDE
Symmetric key wrap algorithm: "DESedeWrap".- See Also:
-
KEYWRAP_ALGO_AES
Symmetric key wrap algorithm: "AESWrap".- See Also:
-
DIGEST_MD5
Digest algorithm: "MD5".- See Also:
-
DIGEST_RIPEMD160
Digest algorithm: "RIPEMD160".- See Also:
-
DIGEST_SHA1
Digest algorithm: "SHA-1".- See Also:
-
DIGEST_SHA224
Digest algorithm: "SHA-224".- See Also:
-
DIGEST_SHA256
Digest algorithm: "SHA-256".- See Also:
-
DIGEST_SHA384
Digest algorithm: "SHA-384".- See Also:
-
DIGEST_SHA512
Digest algorithm: "SHA-512".- See Also:
-
SIGNATURE_DSA_SHA1
Signature algorithm: "SHA1withDSA".- See Also:
-
SIGNATURE_DSA_SHA224
Signature algorithm: "SHA224withDSA".- See Also:
-
SIGNATURE_DSA_SHA256
Signature algorithm: "SHA256withDSA".- See Also:
-
SIGNATURE_RSA_MD5
Signature algorithm: "MD5withRSA".- See Also:
-
SIGNATURE_RSA_RIPEMD160
Signature algorithm: "RIPEMD160withRSA".- See Also:
-
SIGNATURE_RSA_SHA1
Signature algorithm: "SHA1withRSA".- See Also:
-
SIGNATURE_RSA_SHA224
Signature algorithm: "SHA224withRSA".- See Also:
-
SIGNATURE_RSA_SHA256
Signature algorithm: "SHA256withRSA".- See Also:
-
SIGNATURE_RSA_SHA384
Signature algorithm: "SHA384withRSA".- See Also:
-
SIGNATURE_RSA_SHA512
Signature algorithm: "SHA512withRSA".- See Also:
-
SIGNATURE_ECDSA_SHA1
Signature algorithm: "SHA1withECDSA".- See Also:
-
SIGNATURE_ECDSA_SHA224
Signature algorithm: "SHA224withECDSA".- See Also:
-
SIGNATURE_ECDSA_SHA256
Signature algorithm: "SHA256withECDSA".- See Also:
-
SIGNATURE_ECDSA_SHA384
Signature algorithm: "SHA384withECDSA".- See Also:
-
SIGNATURE_ECDSA_SHA512
Signature algorithm: "SHA512withECDSA".- See Also:
-
HMAC_MD5
MAC algorithm: "HmacMD5".- See Also:
-
HMAC_RIPEMD160
MAC algorithm: "HMACRIPEMD160".- See Also:
-
HMAC_SHA1
MAC algorithm: "HmacSHA1".- See Also:
-
HMAC_SHA224
MAC algorithm: "HmacSHA224".- See Also:
-
HMAC_SHA256
MAC algorithm: "HmacSHA256".- See Also:
-
HMAC_SHA384
MAC algorithm: "HmacSHA384".- See Also:
-
HMAC_SHA512
MAC algorithm: "HmacSHA512".- See Also:
-
KEY_AGREEMENT_DH
Key Agreement algorithm: Diffie-Hellman.- See Also:
-
KEY_AGREEMENT_ECDH
Key Agreement algorithm: Elliptic Curve Diffie-Hellman.- See Also:
-
-
Constructor Details
-
JCAConstants
private JCAConstants()Constructor. Private to disable instantiation.
-