PCSC4Java  0.2
Library PCSC for Java language.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
D:/Affaire/Perso/SmartCardToolBox/pcsc4java-framework-0.2/jni/PCSC/src/PCSC.cpp File Reference
#include "../inc/PCSC.h"
Include dependency graph for PCSC.cpp:

Go to the source code of this file.

Functions

JNIEXPORT jlong JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardEstablishContext (JNIEnv *env, jclass object, jint iScope)
JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardReleaseContext (JNIEnv *env, jclass object, jlong lContextId)
JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardCancel (JNIEnv *env, jclass object, jlong lContextId)
JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardIsValidContext (JNIEnv *env, jclass object, jlong lContextId)
JNIEXPORT jobjectArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardListReaders (JNIEnv *env, jclass object, jlong lContextId)
JNIEXPORT jlong JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardConnect (JNIEnv *env, jclass object, jlong lContextId, jstring sReaderName, jint iShareMode, jint iPreferredProtocols)
JNIEXPORT jbyteArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardTransmit (JNIEnv *env, jclass object, jlong lCardHandle, jint iProtocol, jbyteArray pBCommand, jint iOffset, jint iLength)
JNIEXPORT jbyteArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardStatus (JNIEnv *env, jclass object, jlong lCardHandle, jbyteArray pBStatus, jobjectArray psReaderNames)
JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardDisconnect (JNIEnv *env, jclass object, jlong lCardHandle, jint iDisposition)
JNIEXPORT jintArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardGetStatusChange (JNIEnv *env, jclass object, jlong lContextId, jlong lTimeout, jintArray piCurrentState, jobjectArray psReaderNames)
JNIEXPORT jboolean JNICALL Java_fr_redbilled_security_pcscforjava_PCSCTerminals_SCardIsPlugAndPlaySupported (JNIEnv *env, jclass object, jlong lContextId)
JNIEXPORT jboolean JNICALL Java_fr_redbilled_security_pcscforjava_PCSCPnPThread_SCardPlugAndPlay (JNIEnv *env, jclass object, jlong lContextId, jlong lTimeout)
JNIEXPORT jintArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardLocateCards (JNIEnv *env, jclass object, jlong lContextId, jobjectArray psCardNames, jintArray piCurrentState, jobjectArray psReaderNames)
JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardBeginTransaction (JNIEnv *env, jclass object, jlong lCardHandle)
JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardEndTransaction (JNIEnv *env, jclass object, jlong lCardHandle, jint iDisposition)
JNIEXPORT jbyteArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardControl (JNIEnv *env, jclass object, jlong lCardHandle, jint iControlCode, jbyteArray pBCommand)
JNIEXPORT jbyteArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardReconnect (JNIEnv *env, jclass object, jlong lCardHandle, jint iShareMode, jint iPreferredProtocols, jint iInitialization)
JNIEXPORT jbyteArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardGetAttrib (JNIEnv *env, jclass object, jlong lCardHandle, jint iAttribute)
JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardSetAttrib (JNIEnv *env, jclass object, jlong lCardHandle, jint iAttribute, jbyteArray pBAttributeCommand)
void printInDebug (const char *format,...)
void launchException (JNIEnv *env, long lException)

Function Documentation

Definition at line 849 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 126 of file PCSC.cpp.

Here is the call graph for this function:

JNIEXPORT jlong JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardConnect ( JNIEnv env,
jclass  object,
jlong  lContextId,
jstring  sReaderName,
jint  iShareMode,
jint  iPreferredProtocols 
)

Definition at line 261 of file PCSC.cpp.

Here is the call graph for this function:

JNIEXPORT jbyteArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardControl ( JNIEnv env,
jclass  object,
jlong  lCardHandle,
jint  iControlCode,
jbyteArray  pBCommand 
)

Definition at line 919 of file PCSC.cpp.

Here is the call graph for this function:

JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardDisconnect ( JNIEnv env,
jclass  object,
jlong  lCardHandle,
jint  iDisposition 
)

Definition at line 568 of file PCSC.cpp.

Here is the call graph for this function:

JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardEndTransaction ( JNIEnv env,
jclass  object,
jlong  lCardHandle,
jint  iDisposition 
)

Definition at line 871 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 60 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 1084 of file PCSC.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

JNIEXPORT jintArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardGetStatusChange ( JNIEnv env,
jclass  object,
jlong  lContextId,
jlong  lTimeout,
jintArray  piCurrentState,
jobjectArray  psReaderNames 
)

Definition at line 608 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 148 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 172 of file PCSC.cpp.

Here is the call graph for this function:

JNIEXPORT jintArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardLocateCards ( JNIEnv env,
jclass  object,
jlong  lContextId,
jobjectArray  psCardNames,
jintArray  piCurrentState,
jobjectArray  psReaderNames 
)

Definition at line 823 of file PCSC.cpp.

JNIEXPORT jbyteArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardReconnect ( JNIEnv env,
jclass  object,
jlong  lCardHandle,
jint  iShareMode,
jint  iPreferredProtocols,
jint  iInitialization 
)

Definition at line 978 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 104 of file PCSC.cpp.

Here is the call graph for this function:

JNIEXPORT void JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardSetAttrib ( JNIEnv env,
jclass  object,
jlong  lCardHandle,
jint  iAttribute,
jbyteArray  pBAttributeCommand 
)

Definition at line 1261 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 437 of file PCSC.cpp.

Here is the call graph for this function:

JNIEXPORT jbyteArray JNICALL Java_fr_redbilled_security_pcscforjava_PCSC_SCardTransmit ( JNIEnv env,
jclass  object,
jlong  lCardHandle,
jint  iProtocol,
jbyteArray  pBCommand,
jint  iOffset,
jint  iLength 
)

Definition at line 361 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 750 of file PCSC.cpp.

Here is the call graph for this function:

Definition at line 724 of file PCSC.cpp.

Here is the call graph for this function:

void launchException ( JNIEnv env,
long  lException 
)

Definition at line 1340 of file PCSC.cpp.

void printInDebug ( const char *  format,
  ... 
)

Definition at line 1304 of file PCSC.cpp.