public enum KeyPairWithModeAndPaddingAlgorithm extends java.lang.Enum<KeyPairWithModeAndPaddingAlgorithm> implements Algorithm
KeyPairWithModeAndPaddingAlgorithm.| Enum Constant and Description |
|---|
DESede_CBC_PKCS5Padding
The enum constant with the 'DESede' algorithm with mode 'CBC' and padding 'PKCS5Padding' that
results in 'DESede/CBC/PKCS5Padding'.
|
RSA_ECB_OAEPWithSHA_1AndMGF1Padding
The enum constant with the 'RSA' algorithm with mode 'ECB' and padding
'OAEPWithSHA-1AndMGF1Padding' that results in 'RSA/ECB/OAEPWithSHA-1AndMGF1Padding'.
|
RSA_ECB_OAEPWithSHA_256AndMGF1Padding
The enum constant with the 'RSA' algorithm with mode 'ECB' and padding
'OAEPWithSHA-256AndMGF1Padding' that results in 'RSA/ECB/OAEPWithSHA-256AndMGF1Padding'.
|
RSA_ECB_OAEPWithSHA1AndMGF1Padding
The enum constant with the 'RSA' algorithm with mode 'ECB' and padding
'OAEPWithSHA1AndMGF1Padding' that results in 'RSA/ECB/OAEPWithSHA1AndMGF1Padding'.
|
RSA_ECB_OAEPWithSHA256AndMGF1Padding
The enum constant with the 'RSA' algorithm with mode 'ECB' and padding
'OAEPWithSHA256AndMGF1Padding' that results in 'RSA/ECB/OAEPWithSHA256AndMGF1Padding'.
|
RSA_ECB_PKCS1PADDING
The enum constant with the 'RSA' algorithm with mode 'ECB' and padding 'PKCS1Padding' that
results in 'RSA/ECB/PKCS1Padding'.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm()
Gets the algorithm for encryption or decryption.
|
static KeyPairWithModeAndPaddingAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyPairWithModeAndPaddingAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyPairWithModeAndPaddingAlgorithm DESede_CBC_PKCS5Padding
public static final KeyPairWithModeAndPaddingAlgorithm RSA_ECB_OAEPWithSHA_1AndMGF1Padding
public static final KeyPairWithModeAndPaddingAlgorithm RSA_ECB_OAEPWithSHA_256AndMGF1Padding
public static final KeyPairWithModeAndPaddingAlgorithm RSA_ECB_OAEPWithSHA1AndMGF1Padding
public static final KeyPairWithModeAndPaddingAlgorithm RSA_ECB_OAEPWithSHA256AndMGF1Padding
public static final KeyPairWithModeAndPaddingAlgorithm RSA_ECB_PKCS1PADDING
public static KeyPairWithModeAndPaddingAlgorithm[] values()
for (KeyPairWithModeAndPaddingAlgorithm c : KeyPairWithModeAndPaddingAlgorithm.values()) System.out.println(c);
public static KeyPairWithModeAndPaddingAlgorithm valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getAlgorithm()
AlgorithmgetAlgorithm in interface Algorithm