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

public static enum CardAccess.PaceAlgorithmParam extends Enum<CardAccess.PaceAlgorithmParam>
Parámetro para el algoritmo de establecimiento de canal PACE.
  • Enum Constant Details

  • Field Details

    • paramBytes

      private final byte[] paramBytes
    • curveName

      private final String curveName
  • Constructor Details

    • PaceAlgorithmParam

      private PaceAlgorithmParam(byte[] paramId, String curve)
  • Method Details

    • values

      public static CardAccess.PaceAlgorithmParam[] 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

      public static CardAccess.PaceAlgorithmParam valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      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 String getCurveName()
      Obtiene el nombre de la curva (elíptica).
      Returns:
      Nombre de la curva (elíptica), o null si el algoritmo no es de curva elíptica.