Package es.gob.jmulticard.asn1.icao
Enum CardAccess.PaceAlgorithmParam
- java.lang.Object
-
- java.lang.Enum<CardAccess.PaceAlgorithmParam>
-
- es.gob.jmulticard.asn1.icao.CardAccess.PaceAlgorithmParam
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CardAccess.PaceAlgorithmParam>
- Enclosing class:
- CardAccess
public static enum CardAccess.PaceAlgorithmParam extends java.lang.Enum<CardAccess.PaceAlgorithmParam>
Parámetro para el algoritmo de establecimiento de canal PACE.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRAINPOOL_256_R1Curva brainpool256r1.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcurveNameprivate byte[]paramBytes
-
Constructor Summary
Constructors Modifier Constructor Description privatePaceAlgorithmParam(byte[] paramId, java.lang.String curve)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()Obtiene la representación binaria del OID.java.lang.StringgetCurveName()Obtiene el nombre de la curva (elíptica).static CardAccess.PaceAlgorithmParamvalueOf(java.lang.String name)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 Detail
-
BRAINPOOL_256_R1
public static final CardAccess.PaceAlgorithmParam BRAINPOOL_256_R1
Curva brainpool256r1.
-
-
Method Detail
-
values
public static CardAccess.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 (CardAccess.PaceAlgorithmParam c : CardAccess.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 CardAccess.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.
-
getCurveName
public java.lang.String 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.
-
-