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:
Serializable
,Comparable<MseSetSignatureKeyApduCommand.CryptographicMechanism>
,java.lang.constant.Constable
- Enclosing class:
MseSetSignatureKeyApduCommand
public static enum MseSetSignatureKeyApduCommand.CryptographicMechanism
extends Enum<MseSetSignatureKeyApduCommand.CryptographicMechanism>
Mecanismo criptográfico a usar con la clave privada establecida.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRSASSA con PKCS#1 v1.5 y MD5.RSASSA con PKCS#1 v1.5 y SHA1.RSASSA con PKCS#1 v2.1 y SHA1. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
RSASSA_PSS_SHA1
RSASSA con PKCS#1 v2.1 y SHA1. -
RSASSA_PKCS1V1_5_SHA1
RSASSA con PKCS#1 v1.5 y SHA1. -
RSASSA_PKCS1V1_5_MD5
RSASSA con PKCS#1 v1.5 y MD5.
-
-
Field Details
-
value
private final byte value
-
-
Constructor Details
-
CryptographicMechanism
private CryptographicMechanism(byte v)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
public byte getValue()Obtiene el valor del mecanismo.- Returns:
- Valor del mecanismo
-