Package com.helger.phase4.crypto
Enum Class ECryptoKeyEncryptionAlgorithm
java.lang.Object
java.lang.Enum<ECryptoKeyEncryptionAlgorithm>
com.helger.phase4.crypto.ECryptoKeyEncryptionAlgorithm
- All Implemented Interfaces:
com.helger.base.id.IHasID<String>,Serializable,Comparable<ECryptoKeyEncryptionAlgorithm>,Constable
public enum ECryptoKeyEncryptionAlgorithm
extends Enum<ECryptoKeyEncryptionAlgorithm>
implements com.helger.base.id.IHasID<String>
Enumeration of all key encryption algorithms.
- Since:
- 2.1.0
- Author:
- Gregor Scholtysik, Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ECryptoKeyEncryptionAlgorithmgetFromIDOrDefault(@Nullable String sID, @Nullable ECryptoKeyEncryptionAlgorithm eDefault) static @Nullable ECryptoKeyEncryptionAlgorithmgetFromIDOrNull(@Nullable String sID) @NonNull @Nonempty StringgetID()Returns the enum constant of this class with the specified name.static ECryptoKeyEncryptionAlgorithm[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RSA15
-
RSA_OAEP
-
RSA_OAEP_XENC11
-
ECDH_ES_KEYWRAP_AES_128
-
ECDH_ES_KEYWRAP_AES_192
-
ECDH_ES_KEYWRAP_AES_256
-
ECDH_ES_KEYWRAP_3DES
-
KDF_CONCAT
-
AGREEMENT_METHOD_ECDH_ES
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getID
- Specified by:
getIDin interfacecom.helger.base.id.IHasID<String>
-
getFromIDOrNull
-
getFromIDOrDefault
public static @Nullable ECryptoKeyEncryptionAlgorithm getFromIDOrDefault(@Nullable String sID, @Nullable ECryptoKeyEncryptionAlgorithm eDefault)
-