Enum MseSetPaceAlgorithmApduCommand.PaceAlgorithmOid
java.lang.Object
java.lang.Enum<MseSetPaceAlgorithmApduCommand.PaceAlgorithmOid>
es.gob.jmulticard.apdu.iso7816four.pace.MseSetPaceAlgorithmApduCommand.PaceAlgorithmOid
- All Implemented Interfaces:
Serializable
,Comparable<MseSetPaceAlgorithmApduCommand.PaceAlgorithmOid>
,java.lang.constant.Constable
- Enclosing class:
MseSetPaceAlgorithmApduCommand
public static enum MseSetPaceAlgorithmApduCommand.PaceAlgorithmOid
extends Enum<MseSetPaceAlgorithmApduCommand.PaceAlgorithmOid>
Algoritmo de establecimiento de canal PACE.
Los OID son una combinación de:
- 0.4.0.127.0.7 (bsi-de)
-
- 2.2.4 (id_PACE)
-
- 1 (id_PACE_DH_GM)
- 2 (id_PACE_ECDH_GM)
- 3 (id_PACE_DH_IM)
- 4 (id_PACE_ECDH_IM)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionid_PACE_DH_GM_AES_CBC_CMAC_128 (OID 0.4.0.127.0.7.2.2.4.1.2).id_PACE_ECDH_GM_AES_CBC_CMAC_128 (OID 0.4.0.127.0.7.2.2.4.2.2). -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
PACE_ECDH_GM_AES_CBC_CMAC_128
id_PACE_ECDH_GM_AES_CBC_CMAC_128 (OID 0.4.0.127.0.7.2.2.4.2.2). -
PACE_DH_GM_AES_CBC_CMAC_128
id_PACE_DH_GM_AES_CBC_CMAC_128 (OID 0.4.0.127.0.7.2.2.4.1.2).
-
-
Field Details
-
oidBytes
private final byte[] oidBytes
-
-
Constructor Details
-
PaceAlgorithmOid
private PaceAlgorithmOid(byte[] oid)
-
-
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
-
getBytes
public byte[] getBytes()Obtiene la representación binaria del OID.- Returns:
- Representación binaria del OID.
-