Class Apdu
java.lang.Object
com.yubico.yubikit.core.smartcard.Apdu
public class Apdu
extends java.lang.Object
Data model for encapsulating an APDU command, as defined by ISO/IEC 7816-4 standard.
-
Constructor Summary
Constructors Constructor Description Apdu(int cla, int ins, int p1, int p2, byte[] data)
Constructor using int's for convenience. -
Method Summary
-
Constructor Details
-
Apdu
public Apdu(int cla, int ins, int p1, int p2, @Nullable byte[] data)Constructor using int's for convenience. SeeApdu(byte, byte, byte, byte, byte[])
.
-
-
Method Details
-
getData
public byte[] getData()Returns the data payload of the APDU. -
getCla
public byte getCla()Returns the CLA of the APDU. -
getIns
public byte getIns()Returns the INS of the APDU. -
getP1
public byte getP1()Returns the parameter P1 of the APDU. -
getP2
public byte getP2()Returns the parameter P2 of the APDU.
-