Package org.certificateservices.messages
Enum EncryptionAlgorithmScheme
- java.lang.Object
-
- java.lang.Enum<EncryptionAlgorithmScheme>
-
- org.certificateservices.messages.EncryptionAlgorithmScheme
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EncryptionAlgorithmScheme>
public enum EncryptionAlgorithmScheme extends java.lang.Enum<EncryptionAlgorithmScheme>
Definition of all supported Encryption Algorithms by Message Security Providers.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionAlgorithmSchemegetByName(java.lang.String name)java.lang.StringgetDataEncryptionAlgorithmURI()java.lang.StringgetKeyEncryptionAlgorithmURI()static EncryptionAlgorithmSchemevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EncryptionAlgorithmScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RSA_PKCS1_5_WITH_AES128
public static final EncryptionAlgorithmScheme RSA_PKCS1_5_WITH_AES128
-
RSA_OAEP_WITH_AES128
public static final EncryptionAlgorithmScheme RSA_OAEP_WITH_AES128
-
RSA_PKCS1_5_WITH_AES192
public static final EncryptionAlgorithmScheme RSA_PKCS1_5_WITH_AES192
-
RSA_OAEP_WITH_AES192
public static final EncryptionAlgorithmScheme RSA_OAEP_WITH_AES192
-
RSA_PKCS1_5_WITH_AES256
public static final EncryptionAlgorithmScheme RSA_PKCS1_5_WITH_AES256
-
RSA_OAEP_WITH_AES256
public static final EncryptionAlgorithmScheme RSA_OAEP_WITH_AES256
-
RSA_PKCS1_5_WITH_AES128_GCM
public static final EncryptionAlgorithmScheme RSA_PKCS1_5_WITH_AES128_GCM
-
RSA_OAEP_WITH_AES128_GCM
public static final EncryptionAlgorithmScheme RSA_OAEP_WITH_AES128_GCM
-
RSA_PKCS1_5_WITH_AES192_GCM
public static final EncryptionAlgorithmScheme RSA_PKCS1_5_WITH_AES192_GCM
-
RSA_OAEP_WITH_AES192_GCM
public static final EncryptionAlgorithmScheme RSA_OAEP_WITH_AES192_GCM
-
RSA_PKCS1_5_WITH_AES256_GCM
public static final EncryptionAlgorithmScheme RSA_PKCS1_5_WITH_AES256_GCM
-
RSA_OAEP_WITH_AES256_GCM
public static final EncryptionAlgorithmScheme RSA_OAEP_WITH_AES256_GCM
-
-
Method Detail
-
values
public static EncryptionAlgorithmScheme[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EncryptionAlgorithmScheme c : EncryptionAlgorithmScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncryptionAlgorithmScheme valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getDataEncryptionAlgorithmURI
public java.lang.String getDataEncryptionAlgorithmURI()
-
getKeyEncryptionAlgorithmURI
public java.lang.String getKeyEncryptionAlgorithmURI()
-
getByName
public static EncryptionAlgorithmScheme getByName(java.lang.String name)
-
-