Enum CardAccess.PaceAlgorithmParam
java.lang.Object
java.lang.Enum<CardAccess.PaceAlgorithmParam>
es.gob.jmulticard.asn1.icao.CardAccess.PaceAlgorithmParam
- All Implemented Interfaces:
Serializable, Comparable<CardAccess.PaceAlgorithmParam>, java.lang.constant.Constable
- Enclosing class:
CardAccess
Parámetro para el algoritmo de establecimiento de canal PACE.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()Obtiene la representación binaria del OID.Obtiene el nombre de la curva (elíptica).Returns the enum constant of this type with the specified name.static CardAccess.PaceAlgorithmParam[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BRAINPOOL_256_R1
Curva brainpool256r1.
-
-
Field Details
-
paramBytes
private final byte[] paramBytes -
curveName
-
-
Constructor Details
-
PaceAlgorithmParam
-
-
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.
-
getCurveName
Obtiene el nombre de la curva (elíptica).- Returns:
- Nombre de la curva (elíptica), o
nullsi el algoritmo no es de curva elíptica.
-