Class MseSetComputationApduCommand
java.lang.Object
es.gob.jmulticard.apdu.Apdu
es.gob.jmulticard.apdu.CommandApdu
es.gob.jmulticard.apdu.iso7816four.MseSetApduCommand
es.gob.jmulticard.apdu.iso7816four.MseSetComputationApduCommand
APDU ISO 7816-4 de gestión de entorno de seguridad para
cómputo de firma electrónica.
-
Field Summary
Fields inherited from class es.gob.jmulticard.apdu.iso7816four.MseSetApduCommand
ALGORITHM_REFERENCE, AT, DST, PRIVATE_KEY_REFERENCE, PUBLIC_KEY_REFERENCE, SET_FOR_AUTHENTICATION, SET_FOR_COMPUTATION
-
Constructor Summary
ConstructorsConstructorDescriptionMseSetComputationApduCommand
(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
Modifier and TypeMethodDescriptionprivate static byte[]
createDst
(byte[] privateKeyReference, byte[] algorithmReference)
-
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.
-
-
Method Details
-
createDst
private static byte[] createDst(byte[] privateKeyReference, byte[] algorithmReference)
-