Enum MosipSecurityMethod
- java.lang.Object
-
- java.lang.Enum<MosipSecurityMethod>
-
- io.mosip.kernel.core.security.constants.MosipSecurityMethod
-
- All Implemented Interfaces:
Serializable,Comparable<MosipSecurityMethod>
public enum MosipSecurityMethod extends Enum<MosipSecurityMethod>
Mosip Security methodsHYBRID_RSA_AES_WITH_OAEP_WITH_MD5_AND_MGF1PADDING,HYBRID_RSA_AES_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING,HYBRID_RSA_AES_WITH_PKCS1PADDING,AES_WITH_CBC_AND_PKCS7PADDING,DES_WITH_CBC_AND_PKCS7PADDING,TWOFISH_WITH_CBC_AND_PKCS7PADDING- Since:
- 1.0.0
- Author:
- Urvil Joshi
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AES_WITH_CBC_AND_PKCS7PADDINGAdvanced Encryption Standard symmetric-key block cipher security method with PKCS7 PaddingDES_WITH_CBC_AND_PKCS7PADDINGData Encryption Standard symmetric-key block cipher security method with PKCS7 PaddingHYBRID_RSA_AES_WITH_OAEP_WITH_MD5_AND_MGF1PADDINGHybrid RSA cryptosystem andAES_WITH_CBC_AND_PKCS7PADDINGsecurity method with OEAP(with MD5) PaddingHYBRID_RSA_AES_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDINGHybrid RSA cryptosystem andAES_WITH_CBC_AND_PKCS7PADDINGsecurity method with OEAP(with SHA3 512) PaddingHYBRID_RSA_AES_WITH_PKCS1PADDINGHybrid RSA cryptosystem andAES_WITH_CBC_AND_PKCS7PADDINGsecurity method with PKCS1 PaddingRSA_WITH_OAEP_WITH_MD5_AND_MGF1PADDINGRSA cryptosystem security method with OEAP(with MD5) PaddingRSA_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDINGRSA cryptosystem security method with OEAP(with SHA3 512) PaddingRSA_WITH_PKCS1PADDINGRSA cryptosystem security method with PKCS1 PaddingTWOFISH_WITH_CBC_AND_PKCS7PADDINGTWOFISH symmetric-key block cipher security method with PKCS7 Padding
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MosipSecurityMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static MosipSecurityMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HYBRID_RSA_AES_WITH_PKCS1PADDING
public static final MosipSecurityMethod HYBRID_RSA_AES_WITH_PKCS1PADDING
Hybrid RSA cryptosystem andAES_WITH_CBC_AND_PKCS7PADDINGsecurity method with PKCS1 Padding
-
HYBRID_RSA_AES_WITH_OAEP_WITH_MD5_AND_MGF1PADDING
public static final MosipSecurityMethod HYBRID_RSA_AES_WITH_OAEP_WITH_MD5_AND_MGF1PADDING
Hybrid RSA cryptosystem andAES_WITH_CBC_AND_PKCS7PADDINGsecurity method with OEAP(with MD5) Padding
-
HYBRID_RSA_AES_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING
public static final MosipSecurityMethod HYBRID_RSA_AES_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING
Hybrid RSA cryptosystem andAES_WITH_CBC_AND_PKCS7PADDINGsecurity method with OEAP(with SHA3 512) Padding
-
AES_WITH_CBC_AND_PKCS7PADDING
public static final MosipSecurityMethod AES_WITH_CBC_AND_PKCS7PADDING
Advanced Encryption Standard symmetric-key block cipher security method with PKCS7 Padding
-
DES_WITH_CBC_AND_PKCS7PADDING
public static final MosipSecurityMethod DES_WITH_CBC_AND_PKCS7PADDING
Data Encryption Standard symmetric-key block cipher security method with PKCS7 Padding
-
TWOFISH_WITH_CBC_AND_PKCS7PADDING
public static final MosipSecurityMethod TWOFISH_WITH_CBC_AND_PKCS7PADDING
TWOFISH symmetric-key block cipher security method with PKCS7 Padding
-
RSA_WITH_PKCS1PADDING
public static final MosipSecurityMethod RSA_WITH_PKCS1PADDING
RSA cryptosystem security method with PKCS1 Padding
-
RSA_WITH_OAEP_WITH_MD5_AND_MGF1PADDING
public static final MosipSecurityMethod RSA_WITH_OAEP_WITH_MD5_AND_MGF1PADDING
RSA cryptosystem security method with OEAP(with MD5) Padding
-
RSA_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING
public static final MosipSecurityMethod RSA_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING
RSA cryptosystem security method with OEAP(with SHA3 512) Padding
-
-
Method Detail
-
values
public static MosipSecurityMethod[] 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 (MosipSecurityMethod c : MosipSecurityMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MosipSecurityMethod valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-