|
int | GetLastError () |
|
bool | Activated () |
|
| SCardCalypso (SCardChannel scard) |
|
string | ParseToXml () |
|
static int | Bench (int reset) |
|
static int | SetTraceLevel (byte level) |
|
static int | SetTraceFile (string filename) |
|
static int | GetLastError (SCARD_CALYPSO_CTX p_ctx) |
|
static SCARD_CALYPSO_CTX | CreateContext () |
|
static void | DestroyContext (SCARD_CALYPSO_CTX p_ctx) |
|
static int | CardBindPcsc (SCARD_CALYPSO_CTX p_ctx, System.IntPtr hCard) |
|
static int | CardTransmit (SCARD_CALYPSO_CTX p_ctx, byte[] in_buffer, uint in_length, byte[] out_buffer, ref uint out_length) |
|
static int | SamBindPcsc (SCARD_CALYPSO_CTX p_ctx, System.IntPtr hCard) |
|
static int | SamTransmit (SCARD_CALYPSO_CTX p_ctx, byte[] in_buffer, uint in_length, byte[] out_buffer, ref uint out_length) |
|
static int | CardGetAtr (SCARD_CALYPSO_CTX p_ctx, byte[] atr, ref uint atrsize) |
|
static int | CardSelectApplication (SCARD_CALYPSO_CTX p_ctx, byte[] aid, uint aidsize, byte[] fci, ref uint fcisize) |
|
static int | CardSelectFile (SCARD_CALYPSO_CTX p_ctx, uint file_id, byte[] resp, ref uint respsize) |
|
static int | CardReadRecord (SCARD_CALYPSO_CTX p_ctx, byte rec_no, byte rec_size, byte[] data, ref uint datasize) |
|
static int | CardAppendRecord (SCARD_CALYPSO_CTX p_ctx, byte[] data, uint datasize) |
|
static int | CardUpdateRecord (SCARD_CALYPSO_CTX p_ctx, byte rec_no, byte[] data, uint datasize) |
|
static int | CardDecrease (SCARD_CALYPSO_CTX p_ctx, byte rec_no, byte[] data, uint datasize) |
|
static int | CardOpenSecureSession (SCARD_CALYPSO_CTX p_ctx, byte apdu_p1, byte apdu_p2, byte[] sam_chal, byte[] resp, ref uint respsize) |
|
static int | CardCloseSecureSession (SCARD_CALYPSO_CTX p_ctx, int ratify_now, byte[] sam_sign, byte[] resp, ref uint respsize) |
|
static int | CardActivate (SCARD_CALYPSO_CTX p_ctx, byte[] aid, uint aidsize) |
|
static int | CardDispose (SCARD_CALYPSO_CTX p_ctx) |
|
static int | CardRevision (SCARD_CALYPSO_CTX p_ctx, ref uint revision) |
|
static int | CardDFName (SCARD_CALYPSO_CTX p_ctx, byte[] name, ref uint namesize) |
|
static int | CardSessionModifs (SCARD_CALYPSO_CTX p_ctx, ref uint cur_mods, ref uint max_mods) |
|
static int | TranslateCD97SelectResp (SCARD_CALYPSO_CTX p_ctx, byte[] resp, uint respsize, ref CALYPSO_CD97_FILE_INFO_ST file_info) |
|
static int | SamSelectDiversifier (SCARD_CALYPSO_CTX p_ctx, byte[] card_uid) |
|
static int | SamGetChallenge (SCARD_CALYPSO_CTX p_ctx, byte[] sam_chal) |
|
static int | SamDigestInit (SCARD_CALYPSO_CTX p_ctx, byte kif, byte kvc, byte[] card_resp_buffer, uint card_resp_length) |
|
static int | SamDigestUpdate (SCARD_CALYPSO_CTX p_ctx, byte[] card_buffer, uint card_buflen) |
|
static int | SamDigestClose (SCARD_CALYPSO_CTX p_ctx, byte[] sam_sign) |
|
static int | SamDigestAuthenticate (SCARD_CALYPSO_CTX p_ctx, byte[] card_sign) |
|
static int | SamDispose (SCARD_CALYPSO_CTX p_ctx) |
|
static int | SamSetAutoUpdate (SCARD_CALYPSO_CTX p_ctx, int enable) |
|
static int | SamSetCommSpeed (SCARD_CALYPSO_CTX p_ctx, int fast) |
|
static int | StartTransaction (SCARD_CALYPSO_CTX p_ctx, byte key_no) |
|
static int | StartTransactionEx (SCARD_CALYPSO_CTX p_ctx, byte key_no, byte kif) |
|
static int | CommitTransaction (SCARD_CALYPSO_CTX p_ctx, int ratify_now) |
|
static int | CancelTransaction (SCARD_CALYPSO_CTX p_ctx) |
|
static int | ReadRecordTransaction (SCARD_CALYPSO_CTX p_ctx, byte key_no, byte rec_no, byte rec_size, byte[] data, ref uint datasize) |
|
static int | AppendRecordTransaction (SCARD_CALYPSO_CTX p_ctx, byte key_no, byte[] data, uint datasize) |
|
static int | UpdateRecordTransaction (SCARD_CALYPSO_CTX p_ctx, byte key_no, byte rec_no, byte[] data, uint datasize) |
|
static int | ReadRecordTransactionE (SCARD_CALYPSO_CTX p_ctx, uint file_id, byte key_no, byte rec_no, byte[] data, ref uint datasize) |
|
static int | AppendRecordTransactionE (SCARD_CALYPSO_CTX p_ctx, uint file_id, byte key_no, byte[] data, uint datasize) |
|
static int | CalypsoUpdateRecordTransactionE (SCARD_CALYPSO_CTX p_ctx, uint file_id, byte key_no, byte rec_no, byte[] data, uint datasize) |
|
static int | SetXmlOutput (SCARD_CALYPSO_CTX p_ctx, string filename) |
|
static int | SetIniOutput (SCARD_CALYPSO_CTX p_ctx, string filename) |
|
static int | SetXmlOutputStr (SCARD_CALYPSO_CTX p_ctx, byte [] target, uint length) |
|
static int | SetIniOutputStr (SCARD_CALYPSO_CTX p_ctx, byte [] target, uint length) |
|
static int | ClearOutput (SCARD_CALYPSO_CTX p_ctx) |
|
static int | ParseCardAtr (SCARD_CALYPSO_CTX p_ctx, byte[] atr, uint atrsize) |
|
static int | ParseFci (SCARD_CALYPSO_CTX p_ctx, byte[] fci, uint fcisize) |
|
static int | ParseCD97SelectResp (SCARD_CALYPSO_CTX p_ctx, byte[] resp, uint respsize) |
|
static int | ParseEnvironmentRecord (SCARD_CALYPSO_CTX p_ctx, byte[] data, uint datasize) |
|
static int | ParseTransportLogRecord (SCARD_CALYPSO_CTX p_ctx, byte[] data, uint datasize) |
|
static int | ParseContractRecord (SCARD_CALYPSO_CTX p_ctx, byte[] data, uint datasize) |
|
static int | ParseCountersRecord (SCARD_CALYPSO_CTX p_ctx, byte[] data, uint datasize) |
|
static int | ParseEventRecord (SCARD_CALYPSO_CTX p_ctx, byte[] data, uint datasize) |
|
static int | ExploreAndParse (SCARD_CALYPSO_CTX p_ctx) |
|
|
const int | S_SUCCESS = 0 |
|
const int | CALYPSO_ISSUER_KEY = 1 |
|
const int | CALYPSO_LOAD_KEY = 2 |
|
const int | CALYPSO_DEBIT_KEY = 3 |
|
const short | CALYPSO_ERR_INVALID_CONTEXT = 0x0001 |
|
const short | CALYPSO_ERR_INVALID_PARAM = 0x0002 |
|
const short | CALYPSO_ERR_INVALID_TARGET = 0x0003 |
|
const short | CALYPSO_ERR_COMMAND_OVERFLOW = 0x0010 |
|
const short | CALYPSO_ERR_RESPONSE_OVERFLOW = 0x0011 |
|
const short | CALYPSO_ERR_INTERNAL_OVERFLOW = 0x0012 |
|
const short | CALYPSO_ERR_INTERNAL_NULL_PTR = 0x0013 |
|
const short | CALYPSO_INF_TRANSACTION_LIMIT = 0x0020 |
|
const short | CALYPSO_ERR_ALREADY_TRANSACTED = 0x0021 |
|
const short | CALYPSO_ERR_NOT_TRANSACTED = 0x0022 |
|
const short | CALYPSO_ERR_NOT_IMPLEMENTED = 0x0100 |
|
const short | CALYPSO_ERR_KIF_UNKNOWN = 0x0101 |
|
const short | CALYPSO_ERR_STATUS_WORD = 0x0200 |
|
const short | CALYPSO_ERR_RESP_TOO_SHORT = 0x0201 |
|
const short | CALYPSO_ERR_RESP_TOO_LONG = 0x0202 |
|
const short | CALYPSO_SW_WRONG_P1P2 = 0x0203 |
|
const short | CALYPSO_SW_WRONG_P3 = 0x0204 |
|
const short | CALYPSO_SW_NO_RESPONSE = 0x0205 |
|
const short | CALYPSO_ERR_NO_CARD = 0x0400 |
|
const short | CALYPSO_CARD_NOT_ACTIVATED = 0x0410 |
|
const short | CALYPSO_CARD_NOT_SUPPORTED = 0x0411 |
|
const short | CALYPSO_CARD_ATR_INVALID = 0x0412 |
|
const short | CALYPSO_CARD_FCI_INVALID = 0x0413 |
|
const short | CALYPSO_CARD_FILE_INFO_INVALID = 0x0420 |
|
const short | CALYPSO_CARD_DATA_MALFORMED = 0x0421 |
|
const short | CALYPSO_CARD_DATA_OVERSIZED = 0x0422 |
|
const short | CALYPSO_CARD_EEPROM_PROBLEM = 0x0430 |
|
const short | CALYPSO_CARD_FILE_INVALIDATED = 0x0431 |
|
const short | CALYPSO_CARD_ACCESS_FORBIDDEN = 0x0432 |
|
const short | CALYPSO_CARD_FILE_NOT_FOUND = 0x0433 |
|
const short | CALYPSO_CARD_RECORD_NOT_FOUND = 0x0434 |
|
const short | CALYPSO_CARD_WRONG_FILE_TYPE = 0x0435 |
|
const short | CALYPSO_CARD_NOT_IN_SESSION = 0x0436 |
|
const short | CALYPSO_CARD_IN_SESSION = 0x0437 |
|
const short | CALYPSO_CARD_NO_SUCH_KEY = 0x0438 |
|
const short | CALYPSO_CARD_DENIED_SAM_SIGN = 0x0440 |
|
const short | CALYPSO_ERR_NO_SAM = 0x0500 |
|
const short | CALYPSO_SAM_IS_LOCKED = 0x0531 |
|
const short | CALYPSO_SAM_COUNTER_LIMIT = 0x0532 |
|
const short | CALYPSO_SAM_KEY_NOT_USABLE = 0x0535 |
|
const short | CALYPSO_SAM_NOT_IN_SESSION = 0x0536 |
|
const short | CALYPSO_SAM_NO_SUCH_KEY = 0x0538 |
|
const short | CALYPSO_SAM_DENIED_CARD_SIGN = 0x0540 |
|
const short | CALYPSO_ERR_FATAL_ = 0x0800 |
|
const short | CALYPSO_ERR_CARD_ABSENT = 0x0C01 |
|
const short | CALYPSO_ERR_CARD_REMOVED = 0x0C02 |
|
const short | CALYPSO_ERR_CARD_MUTE = 0x0C03 |
|
const short | CALYPSO_ERR_CARD_DIALOG = 0x0C04 |
|
const short | CALYPSO_ERR_SAM_ABSENT = 0x0D01 |
|
const short | CALYPSO_ERR_SAM_REMOVED = 0x0D02 |
|
const short | CALYPSO_ERR_SAM_MUTE = 0x0D03 |
|
const short | CALYPSO_ERR_SAM_DIALOG = 0x0D04 |
|