public final class GPData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GPData.CPLC |
| Modifier and Type | Field and Description |
|---|---|
static byte |
initializedStatus |
static byte |
lockedStatus |
static byte |
readyStatus |
static byte |
securedStatus |
static byte |
terminatedStatus |
| Constructor and Description |
|---|
GPData() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dump(apdu4j.APDUBIBO channel) |
static byte[] |
fetchCPLC(apdu4j.APDUBIBO channel) |
static byte[] |
fetchKeyInfoTemplate(apdu4j.APDUBIBO channel) |
static byte[] |
getData(apdu4j.APDUBIBO channel,
int p1,
int p2,
String name,
boolean failsafe) |
static String |
oid2string(byte[] oid) |
static GPSession.GPSpec |
oid2version(byte[] bytes) |
static void |
pretty_print_card_capabilities(byte[] data) |
static void |
pretty_print_card_data(byte[] data) |
static String |
sw2str(int sw) |
public static final byte readyStatus
public static final byte initializedStatus
public static final byte securedStatus
public static final byte lockedStatus
public static final byte terminatedStatus
public static void pretty_print_card_data(byte[] data)
public static void pretty_print_card_capabilities(byte[] data)
throws GPDataException
GPDataExceptionpublic static void dump(apdu4j.APDUBIBO channel)
throws IOException,
GPException
IOExceptionGPExceptionpublic static byte[] fetchCPLC(apdu4j.APDUBIBO channel)
throws IOException
IOExceptionpublic static byte[] fetchKeyInfoTemplate(apdu4j.APDUBIBO channel)
throws IOException
IOExceptionpublic static String sw2str(int sw)
public static String oid2string(byte[] oid)
public static GPSession.GPSpec oid2version(byte[] bytes) throws GPDataException
GPDataExceptionpublic static byte[] getData(apdu4j.APDUBIBO channel,
int p1,
int p2,
String name,
boolean failsafe)
throws IOException
IOExceptionCopyright © 2019. All rights reserved.