Site Tools

Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcre:12.1_class_javacard.framework.apdu

12.1 Class javacard.framework.APDU

public static final byte PROTOCOL_TYPE_MASK = (byte)0x0F;

public static final byte PROTOCOL_T0 = 0;

public static final byte PROTOCOL_T1 = 1;

public static final byte PROTOCOL_MEDIA_MASK = (byte)0xF0;

public static final byte PROTOCOL_MEDIA_DEFAULT = (byte)0x00;

public static final byte PROTOCOL_MEDIA_CONTACTLESS_TYPE_A = (byte)0x80;

public static final byte PROTOCOL_MEDIA_CONTACTLESS_TYPE_B = (byte)0x90;

public static final byte PROTOCOL_MEDIA_USB = (byte)0xA0;

public static final byte STATE_INITIAL = 0;

public static final byte STATE_PARTIAL_INCOMING = 1;

public static final byte STATE_FULL_INCOMING = 2;

public static final byte STATE_OUTGOING = 3;

public static final byte STATE_OUTGOING_LENGTH_KNOWN = 4;

public static final byte STATE_PARTIAL_OUTGOING = 5;

public static final byte STATE_FULL_OUTGOING = 6;

public static final byte STATE_ERROR_NO_T0_GETRESPONSE = (byte)-1;

public static final byte STATE_ERROR_T1_IFD_ABORT = (byte)-2;

public static final byte STATE_ERROR_IO = (byte) -3;

public static final byte STATE_ERROR_NO_T0_REISSUE = (byte) -4;

javacard/jcre/12.1_class_javacard.framework.apdu.txt · Last modified: 2017/05/13 04:07 (external edit)