Class MseSetComputationApduCommand

java.lang.Object
es.gob.jmulticard.apdu.Apdu
es.gob.jmulticard.apdu.CommandApdu
es.gob.jmulticard.apdu.iso7816four.MseSetComputationApduCommand

public final class MseSetComputationApduCommand extends CommandApdu
APDU ISO 7816-4 de gestión de entorno de seguridad para cómputo de firma electrónica.
Author:
Tomás García-Merás.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final byte
    Referencia a un algoritmo (a un mecanismo criptográfico).
    protected static final byte
    Control Reference Template for Authentication (AT).
    protected static final byte
    Control Reference Template for Digital Signature (DST).
    protected static final byte
    Referencia a una clave para cómputo de sesión en modo simétrico o referencia a una clave privada en modo asimétrico.
    protected static final byte
    Referencia a una clave para uso directo en modo simétrico o referencia a una clave pública en modo asimétrico.
    protected static final byte
    Establece modo para autenticación.
    protected static final byte
    Establece modo para computación.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MseSetComputationApduCommand(byte cla, byte[] privateKeyReference, byte[] algorithmReference)
    Crea una APDU ISO 7816-4 de gestión de entorno de seguridad para cómputo de firma electrónica.
  • Method Summary

    Methods inherited from class es.gob.jmulticard.apdu.CommandApdu

    getCla, getData, getIns, getLe, getP1, getP2, setLe

    Methods inherited from class es.gob.jmulticard.apdu.Apdu

    getBytes, setBytes, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • SET_FOR_AUTHENTICATION

      protected static final byte SET_FOR_AUTHENTICATION
      Establece modo para autenticación.
      See Also:
    • SET_FOR_COMPUTATION

      protected static final byte SET_FOR_COMPUTATION
      Establece modo para computación.
      See Also:
    • DST

      protected static final byte DST
      Control Reference Template for Digital Signature (DST).
      See Also:
    • AT

      protected static final byte AT
      Control Reference Template for Authentication (AT).
      See Also:
    • PUBLIC_KEY_REFERENCE

      protected static final byte PUBLIC_KEY_REFERENCE
      Referencia a una clave para uso directo en modo simétrico o referencia a una clave pública en modo asimétrico.
      See Also:
    • PRIVATE_KEY_REFERENCE

      protected static final byte PRIVATE_KEY_REFERENCE
      Referencia a una clave para cómputo de sesión en modo simétrico o referencia a una clave privada en modo asimétrico.
      See Also:
    • ALGORITHM_REFERENCE

      protected static final byte ALGORITHM_REFERENCE
      Referencia a un algoritmo (a un mecanismo criptográfico).
      See Also:
  • Constructor Details

    • MseSetComputationApduCommand

      public MseSetComputationApduCommand(byte cla, byte[] privateKeyReference, byte[] algorithmReference)
      Crea una APDU ISO 7816-4 de gestión de entorno de seguridad para cómputo de firma electrónica.
      Parameters:
      cla - Clase (CLA) de la APDU.
      privateKeyReference - Referencia a la clave privada de firma.
      algorithmReference - Referencia al algoritmo de firma.