Package es.gob.jmulticard.apdu.gemalto
Enum MseSetSignatureKeyApduCommand.CryptographicMechanism
- java.lang.Object
-
- java.lang.Enum<MseSetSignatureKeyApduCommand.CryptographicMechanism>
-
- es.gob.jmulticard.apdu.gemalto.MseSetSignatureKeyApduCommand.CryptographicMechanism
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MseSetSignatureKeyApduCommand.CryptographicMechanism>
- Enclosing class:
- MseSetSignatureKeyApduCommand
public static enum MseSetSignatureKeyApduCommand.CryptographicMechanism extends java.lang.Enum<MseSetSignatureKeyApduCommand.CryptographicMechanism>
Mecanismo criptográfico a usar con la clave privada establecida.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RSASSA_PKCS1V1_5_MD5
RSASSA con PKCS#1 v1.5 y MD5.RSASSA_PKCS1V1_5_SHA1
RSASSA con PKCS#1 v1.5 y SHA1.RSASSA_PSS_SHA1
RSASSA con PKCS#1 v2.1 y SHA1.
-
Field Summary
Fields Modifier and Type Field Description private byte
value
-
Constructor Summary
Constructors Modifier Constructor Description private
CryptographicMechanism(byte v)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getValue()
Obtiene el valor del mecanismo.static MseSetSignatureKeyApduCommand.CryptographicMechanism
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MseSetSignatureKeyApduCommand.CryptographicMechanism[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RSASSA_PSS_SHA1
public static final MseSetSignatureKeyApduCommand.CryptographicMechanism RSASSA_PSS_SHA1
RSASSA con PKCS#1 v2.1 y SHA1.
-
RSASSA_PKCS1V1_5_SHA1
public static final MseSetSignatureKeyApduCommand.CryptographicMechanism RSASSA_PKCS1V1_5_SHA1
RSASSA con PKCS#1 v1.5 y SHA1.
-
RSASSA_PKCS1V1_5_MD5
public static final MseSetSignatureKeyApduCommand.CryptographicMechanism RSASSA_PKCS1V1_5_MD5
RSASSA con PKCS#1 v1.5 y MD5.
-
-
Method Detail
-
values
public static MseSetSignatureKeyApduCommand.CryptographicMechanism[] 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 (MseSetSignatureKeyApduCommand.CryptographicMechanism c : MseSetSignatureKeyApduCommand.CryptographicMechanism.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MseSetSignatureKeyApduCommand.CryptographicMechanism 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
-
getValue
public byte getValue()
Obtiene el valor del mecanismo.- Returns:
- Valor del mecanismo
-
-