Enum MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam
- java.lang.Object
-
- java.lang.Enum<MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam>
-
- es.gob.jmulticard.apdu.iso7816four.pace.MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam>
- Enclosing class:
- MseSetPaceAlgorithmApduCommand
public static enum MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam extends java.lang.Enum<MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam>
Parámetro para el algoritmo de establecimiento de canal PACE.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRAINPOOL_256_R1
Curva brainpool256r1.
-
Field Summary
Fields Modifier and Type Field Description private byte[]
paramBytes
-
Constructor Summary
Constructors Modifier Constructor Description private
PaceAlgorithmParam(byte[] paramId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
Obtiene la representación binaria del OID.static MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BRAINPOOL_256_R1
public static final MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam BRAINPOOL_256_R1
Curva brainpool256r1.
-
-
Method Detail
-
values
public static MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam[] 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 (MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam c : MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MseSetPaceAlgorithmApduCommand.PaceAlgorithmParam 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
-
getBytes
public byte[] getBytes()
Obtiene la representación binaria del OID.- Returns:
- Representación binaria del OID.
-
-