net.qrivy.bioapi
Class BioAPI

java.lang.Object
  extended by net.qrivy.bioapi.BioAPI
All Implemented Interfaces:
BioAPIConstants

public class BioAPI
extends java.lang.Object
implements BioAPIConstants


Field Summary
 
Fields inherited from interface net.qrivy.bioapi.BioAPIConstants
BioAPI_ADAPTATION, BioAPI_APP_GUI, BioAPI_ARRAY_TYPE, BioAPI_BASE_ERROR, BioAPI_BINNING, BioAPI_BIR_DATA_TYPE_ENCRYPTED, BioAPI_BIR_DATA_TYPE_INTERMEDIATE, BioAPI_BIR_DATA_TYPE_PROCESSED, BioAPI_BIR_DATA_TYPE_RAW, BioAPI_BIR_DATA_TYPE_SIGNED, BioAPI_BIR_ENCRYPT, BioAPI_BIR_HANDLE_INPUT, BioAPI_BIR_SIGN, BioAPI_BSP_BASE_BSP_ERROR, BioAPI_BSP_BASE_ERROR, BioAPI_BSP_PRIVATE_ERROR, BioAPI_CANCEL, BioAPI_CAPTURE, BioAPI_CAPTURE_SAMPLE, BioAPI_CLIENT_BSP, BioAPI_CONTINUE, BioAPI_CREATETEMPLATE, BioAPI_D_FRAMEWORK_BASE_ERROR, BioAPI_D_FRAMEWORK_PRIVATE_ERROR, BioAPI_DATABASE_ID_INPUT, BioAPI_DATABASEOPERATIONS, BioAPI_DB_ACCESS_READ, BioAPI_DB_ACCESS_WRITE, BioAPI_DB_DEFAULT_DB_HANDLE, BioAPI_DB_INVALID_HANDLE, BioAPI_DB_TYPE, BioAPI_DEFAULTDATABASE, BioAPI_DEVICE_BASE_ERROR, BioAPI_DEVICE_PRIVATE_ERROR, BioAPI_ENROLL, BioAPI_ERRCODE_FUNCTION_FAILED, BioAPI_ERRCODE_FUNCTION_NOT_IMPLEMENTED, BioAPI_ERRCODE_INCOMPATIBLE_VERSION, BioAPI_ERRCODE_INTERNAL_ERROR, BioAPI_ERRCODE_INVALID_DATA, BioAPI_ERRCODE_INVALID_DB_HANDLE, BioAPI_ERRCODE_INVALID_INPUT_POINTER, BioAPI_ERRCODE_INVALID_OUTPUT_POINTER, BioAPI_ERRCODE_INVALID_POINTER, BioAPI_ERRCODE_INVALID_UUID, BioAPI_ERRCODE_MEMORY_ERROR, BioAPI_ERRCODE_OS_ACCESS_DENIED, BioAPI_ERRCODE_REGISTRY_ERROR, BioAPI_ERRORCODE_COMMON_EXTENT, BioAPI_ERRORCODE_COMPONENT_EXTENT, BioAPI_ERRORCODE_CUSTOM_OFFSET, BioAPI_FACTOR_FACIAL_FEATURES, BioAPI_FACTOR_FINGERPRINT, BioAPI_FACTOR_GAIT, BioAPI_FACTOR_HAND_GEOMETRY, BioAPI_FACTOR_IRIS, BioAPI_FACTOR_KEYSTOKE_DYNAMICS, BioAPI_FACTOR_LIP_MOVEMENT, BioAPI_FACTOR_MULTIPLE, BioAPI_FACTOR_PASSWORD, BioAPI_FACTOR_RETINA, BioAPI_FACTOR_SIGNATURE_DYNAMICS, BioAPI_FACTOR_THERMAL_FACE_IMAGE, BioAPI_FACTOR_THERMAL_HAND_IMAGE, BioAPI_FACTOR_VOICE, BioAPI_FALSE, BioAPI_FRR_SUPPORTED, BioAPI_FULLBIR_INPUT, BioAPI_H_FRAMEWORK_BASE_ERROR, BioAPI_H_FRAMEWORK_BASE_H_FRAMEWORK_ERROR, BioAPI_H_FRAMEWORK_PRIVATE_ERROR, BioAPI_IDENTIFY, BioAPI_IDENTIFYMATCH, BioAPI_IMPORT, BioAPI_INVALID_BIR_HANDLE, BioAPI_INVALID_HANDLE, BioAPI_INVALID_SAMPLE, BioAPI_LOCAL_BSP, BioAPI_MAJOR, BioAPI_MAX_STR_LEN, BioAPI_MESSAGE_PROVIDED, BioAPI_MINOR, BioAPI_NOT_SET, BioAPI_NOT_SUPPORTED, BioAPI_NOTIFY_FAULT, BioAPI_NOTIFY_FAULT_BIT, BioAPI_NOTIFY_INSERT, BioAPI_NOTIFY_INSERT_BIT, BioAPI_NOTIFY_REMOVE, BioAPI_NOTIFY_REMOVE_BIT, BioAPI_NOTIFY_SOURCE_PRESENT, BioAPI_NOTIFY_SOURCE_PRESENT_BIT, BioAPI_NOTIFY_SOURCE_REMOVED, BioAPI_NOTIFY_SOURCE_REMOVED_BIT, BioAPI_OK, BioAPI_PAYLOAD, BioAPI_POWER_DETECT, BioAPI_POWER_NORMAL, BioAPI_POWER_SLEEP, BioAPI_PROCESS, BioAPI_PROGRESS, BioAPI_PROGRESS_PROVIDED, BioAPI_PURPOSE_AUDIT, BioAPI_PURPOSE_ENROLL, BioAPI_PURPOSE_ENROLL_FOR_IDENTIFICATION_ONLY, BioAPI_PURPOSE_ENROLL_FOR_VERIFICATION_ONLY, BioAPI_PURPOSE_IDENTIFY, BioAPI_PURPOSE_VERIFY, BioAPI_QUALITY_INTERMEDIATE, BioAPI_QUALITY_PROCESSED, BioAPI_QUALITY_RAW, BioAPI_RAW, BioAPI_SAMPLE_AVAILABLE, BioAPI_SELFCONTAINEDDEVICE, BioAPI_SERVER_BSP, BioAPI_SETPOWERMODE, BioAPI_SOURCEPRESENT, BioAPI_STREAMINGCALLBACK, BioAPI_STREAMINGDATA, BioAPI_UNSUPPORTED_BIR_HANDLE, BioAPI_USERVALIDATESSAMPLES, BioAPI_VALID_SAMPLE, BioAPI_VERIFY, BioAPI_VERIFYMATCH, BioAPI_VERIFYSAMPLES, BioAPIERR_BSP_BIR_NOT_FULLY_PROCESSED, BioAPIERR_BSP_BIR_SIGNATURE_FAILURE, BioAPIERR_BSP_CURSOR_IS_INVALID, BioAPIERR_BSP_DATABASE_ALREADY_EXISTS, BioAPIERR_BSP_DATABASE_DOES_NOT_EXIST, BioAPIERR_BSP_DATABASE_IS_LOCKED, BioAPIERR_BSP_DATABASE_IS_OPEN, BioAPIERR_BSP_END_OF_DATABASE, BioAPIERR_BSP_FUNCTION_FAILED, BioAPIERR_BSP_FUNCTION_NOT_IMPLEMENTED, BioAPIERR_BSP_FUNCTION_NOT_SUPPORTED, BioAPIERR_BSP_INCONSISTENT_PURPOSE, BioAPIERR_BSP_INTERNAL_ERROR, BioAPIERR_BSP_INVALID_ACCESS_REQUEST, BioAPIERR_BSP_INVALID_BIR, BioAPIERR_BSP_INVALID_BIR_HANDLE, BioAPIERR_BSP_INVALID_DATA, BioAPIERR_BSP_INVALID_DATABASE_NAME, BioAPIERR_BSP_INVALID_DB_HANDLE, BioAPIERR_BSP_INVALID_INPUT_POINTER, BioAPIERR_BSP_INVALID_OUTPUT_POINTER, BioAPIERR_BSP_INVALID_POINTER, BioAPIERR_BSP_MEMORY_ERROR, BioAPIERR_BSP_NO_INPUT_BIRS, BioAPIERR_BSP_OS_ACCESS_DENIED, BioAPIERR_BSP_PURPOSE_NOT_SUPPORTED, BioAPIERR_BSP_RECORD_NOT_FOUND, BioAPIERR_BSP_REGISTRY_ERROR, BioAPIERR_BSP_TIMEOUT_EXPIRED, BioAPIERR_BSP_TOO_MANY_HANDLES, BioAPIERR_BSP_UNABLE_TO_CAPTURE, BioAPIERR_BSP_UNABLE_TO_CLOSE_DATABASE, BioAPIERR_BSP_UNABLE_TO_CREATE_DATABASE, BioAPIERR_BSP_UNABLE_TO_DELETE_DATABASE, BioAPIERR_BSP_UNABLE_TO_IMPORT, BioAPIERR_BSP_UNABLE_TO_OPEN_DATABASE, BioAPIERR_BSP_UNABLE_TO_WRAP_PAYLOAD, BioAPIERR_BSP_UNSUPPORTED_FORMAT, BioAPIERR_H_FRAMEWORK_FUNCTION_FAILED, BioAPIERR_H_FRAMEWORK_FUNCTION_NOT_IMPLEMENTED, BioAPIERR_H_FRAMEWORK_INCOMPATIBLE_VERSION, BioAPIERR_H_FRAMEWORK_INTERNAL_ERROR, BioAPIERR_H_FRAMEWORK_INVALID_DEVICE_ID, BioAPIERR_H_FRAMEWORK_INVALID_INPUT_POINTER, BioAPIERR_H_FRAMEWORK_INVALID_MODULE_FUNCTION_TABLE, BioAPIERR_H_FRAMEWORK_INVALID_MODULE_HANDLE, BioAPIERR_H_FRAMEWORK_INVALID_OUTPUT_POINTER, BioAPIERR_H_FRAMEWORK_INVALID_POINTER, BioAPIERR_H_FRAMEWORK_INVALID_UUID, BioAPIERR_H_FRAMEWORK_LIB_REF_NOT_FOUND, BioAPIERR_H_FRAMEWORK_MEMORY_ERROR, BioAPIERR_H_FRAMEWORK_MODULE_LOAD_FAILED, BioAPIERR_H_FRAMEWORK_MODULE_NOT_LOADED, BioAPIERR_H_FRAMEWORK_MODULE_UNLOAD_FAILED, BioAPIERR_H_FRAMEWORK_NOT_INITIALIZED, BioAPIERR_H_FRAMEWORK_OS_ACCESS_DENIED, BioAPIERR_H_FRAMEWORK_REGISTRY_ERROR
 
Constructor Summary
BioAPI()
           
 
Method Summary
static long attachModule(SWIGTYPE_p_a_16__unsigned_char uuid, BioAPI_MEMORY_FUNCS memoryFuncs, long DeviceID)
           
static long BioAPI_Capture(long arg0, short arg1, int[] arg2, int arg3, int[] arg4)
           
static long BioAPI_CreateTemplate(long arg0, BioAPI_INPUT_BIR arg1, BioAPI_INPUT_BIR arg2, int[] OUTPUT, BioAPI_DATA arg4)
           
static long BioAPI_DbClose(long arg0, int arg1)
           
static long BioAPI_DbCreate(long arg0, short arg1, long arg2, int[] OUTPUT)
           
static long BioAPI_DbDelete(long arg0, short arg1)
           
static long BioAPI_DbDeleteBIR(long arg0, int arg1, SWIGTYPE_p_a_16__unsigned_char arg2)
           
static long BioAPI_DbFreeCursor(long arg0, long arg1)
           
static long BioAPI_DbGetBIR(long arg0, int arg1, SWIGTYPE_p_a_16__unsigned_char arg2, int[] arg3, long[] arg4)
           
static long BioAPI_DbGetNextBIR(long INPUT, long[] INOUT, int[] arg2, SWIGTYPE_p_a_16__unsigned_char arg3)
           
static long BioAPI_DbOpen(long arg0, short arg1, long arg2, int[] arg3, long[] arg4)
           
static long BioAPI_DbQueryBIR(long arg0, int arg1, BioAPI_INPUT_BIR arg2, SWIGTYPE_p_a_16__unsigned_char OUTPUT)
           
static long BioAPI_DbSetCursor(long arg0, int arg1, SWIGTYPE_p_a_16__unsigned_char arg2, long[] OUTPUT)
           
static long BioAPI_DbStoreBIR(long arg0, BioAPI_INPUT_BIR arg1, int arg2, SWIGTYPE_p_a_16__unsigned_char OUTPUT)
           
static long BioAPI_EnableEvents(long arg0, long arg1)
           
static long BioAPI_EnumModules(BioAPI_BSP_SCHEMA BspSchemaArray, long ArraySize, SWIGTYPE_p_unsigned_int ElementsNeeded, SWIGTYPE_p_unsigned_int NumElementsReturned)
           
static long BioAPI_FreeBIRHandle(long arg0, int arg1)
           
static long BioAPI_GetBIRFromHandle(long arg0, int arg1, SWIGTYPE_p_p_bioapi_hrs_bir OUTPUT)
           
static long BioAPI_GetHeaderFromHandle(long arg0, int arg1, BioAPI_BIR_HEADER OUTPUT)
           
static long BioAPI_Identify(long arg0, int arg1, int arg2, long arg3, BioAPI_IDENTIFY_POPULATION arg4, long arg5, long arg6, long[] arg7, SWIGTYPE_p_p_p_bioapi_candidate arg8, int arg9, int[] arg10)
           
static long BioAPI_IdentifyMatch(long arg0, int arg1, int arg2, long arg3, BioAPI_INPUT_BIR arg4, BioAPI_IDENTIFY_POPULATION arg5, long arg6, long arg7, long[] arg8, SWIGTYPE_p_p_p_bioapi_candidate arg9, int arg10)
           
static long BioAPI_Import(long arg0, BioAPI_DATA arg1, BioAPI_BIR_BIOMETRIC_DATA_FORMAT arg2, short arg3, int[] OUTPUT)
           
static long BioAPI_Process(long arg0, BioAPI_INPUT_BIR arg1, int[] OUTPUT)
           
static long BioAPI_QueryDevice(long INPUT, BioAPI_SERVICE_UID OUTPUT)
           
static long BioAPI_SetPowerMode(long arg0, long arg1)
           
static long BioAPI_VerifyMatch(long arg0, int arg1, int arg2, long arg3, BioAPI_INPUT_BIR arg4, BioAPI_INPUT_BIR arg5, int[] arg6, long[] arg7, int[] arg8, int[] arg9, SWIGTYPE_p_p_bioapi_data arg10)
           
static void detachModule(long bspHandle)
           
static int enroll(long moduleHandle, short purpose, int timeout)
           
static int enrollAndAdapt(long moduleHandle, short purpose, BioAPI_INPUT_BIR storedTemplate, int timeout)
           
static int enrollAndAdaptWithPayload(long moduleHandle, short purpose, BioAPI_INPUT_BIR storedTemplate, BioAPI_DATA payload, int timeout)
           
static int enrollWithPayload(long moduleHandle, short purpose, BioAPI_DATA payload, int timeout)
           
static BioAPI_MEMORY_FUNCS getBioAPIMemoryFuncs()
           
static java.nio.ByteBuffer getBirDataByteBuffer(BioAPI_BIR bir)
           
static BioAPI_BIR getBirFromHandle(long moduleHandle, int handle)
           
static java.nio.ByteBuffer getBirHeaderByteBuffer(BioAPI_BIR bir)
           
static java.nio.ByteBuffer getBirSignatureByteBuffer(BioAPI_BIR bir)
           
static BioAPI_INPUT_BIR getInputBIR(BioAPI_BIR bir)
           
static long getNumberOfModules()
           
static java.lang.String getPrintableUUID(SWIGTYPE_p_a_16__unsigned_char INPUT)
           
static SWIGTYPE_p_unsigned_char getReference_h_layer_uuid_1_0_0()
           
static BioAPI_BSP_SCHEMA getSchemas()
           
static SWIGTYPE_p_a_16__unsigned_char getStructuredUuid(java.lang.String INPUT)
           
static void init()
           
static void loadModule(SWIGTYPE_p_a_16__unsigned_char uuid)
           
static void loadModuleWithCallbacks(SWIGTYPE_p_a_16__unsigned_char uuid, SWIGTYPE_p_f_p_q_const__a_16__unsigned_char_p_void_unsigned_int_unsigned_int_unsigned_int__unsigned_int appNotifyCallback, SWIGTYPE_p_void appNotifyCallbackContext)
           
static void setBirData(BioAPI_BIR bir, java.nio.ByteBuffer dataBuffer)
           
static void setBirHeader(BioAPI_BIR bir, java.nio.ByteBuffer headerBuffer)
           
static void setReference_h_layer_uuid_1_0_0(SWIGTYPE_p_unsigned_char value)
           
static void setSignatureData(BioAPI_BIR bir, java.nio.ByteBuffer signatureBuffer)
           
static void terminate()
           
static void unloadModule(SWIGTYPE_p_a_16__unsigned_char uuid)
           
static void unloadModuleWithCallbacks(SWIGTYPE_p_a_16__unsigned_char uuid, SWIGTYPE_p_f_p_q_const__a_16__unsigned_char_p_void_unsigned_int_unsigned_int_unsigned_int__unsigned_int appNotifyCallback, SWIGTYPE_p_void appNotifyCallbackContext)
           
static verifyResult verify(long moduleHandle, int far, int frr, long farOrFrr, BioAPI_INPUT_BIR inputBir, int timeout)
           
static verifyResult verifyBir(long moduleHandle, int far, int frr, long farOrFrr, BioAPI_BIR bir, int timeout)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BioAPI

public BioAPI()
Method Detail

setReference_h_layer_uuid_1_0_0

public static void setReference_h_layer_uuid_1_0_0(SWIGTYPE_p_unsigned_char value)

getReference_h_layer_uuid_1_0_0

public static SWIGTYPE_p_unsigned_char getReference_h_layer_uuid_1_0_0()

BioAPI_EnumModules

public static long BioAPI_EnumModules(BioAPI_BSP_SCHEMA BspSchemaArray,
                                      long ArraySize,
                                      SWIGTYPE_p_unsigned_int ElementsNeeded,
                                      SWIGTYPE_p_unsigned_int NumElementsReturned)

getBioAPIMemoryFuncs

public static BioAPI_MEMORY_FUNCS getBioAPIMemoryFuncs()

BioAPI_QueryDevice

public static long BioAPI_QueryDevice(long INPUT,
                                      BioAPI_SERVICE_UID OUTPUT)

BioAPI_FreeBIRHandle

public static long BioAPI_FreeBIRHandle(long arg0,
                                        int arg1)

BioAPI_GetBIRFromHandle

public static long BioAPI_GetBIRFromHandle(long arg0,
                                           int arg1,
                                           SWIGTYPE_p_p_bioapi_hrs_bir OUTPUT)

BioAPI_GetHeaderFromHandle

public static long BioAPI_GetHeaderFromHandle(long arg0,
                                              int arg1,
                                              BioAPI_BIR_HEADER OUTPUT)

BioAPI_EnableEvents

public static long BioAPI_EnableEvents(long arg0,
                                       long arg1)

BioAPI_Capture

public static long BioAPI_Capture(long arg0,
                                  short arg1,
                                  int[] arg2,
                                  int arg3,
                                  int[] arg4)

BioAPI_CreateTemplate

public static long BioAPI_CreateTemplate(long arg0,
                                         BioAPI_INPUT_BIR arg1,
                                         BioAPI_INPUT_BIR arg2,
                                         int[] OUTPUT,
                                         BioAPI_DATA arg4)

BioAPI_Process

public static long BioAPI_Process(long arg0,
                                  BioAPI_INPUT_BIR arg1,
                                  int[] OUTPUT)

BioAPI_VerifyMatch

public static long BioAPI_VerifyMatch(long arg0,
                                      int arg1,
                                      int arg2,
                                      long arg3,
                                      BioAPI_INPUT_BIR arg4,
                                      BioAPI_INPUT_BIR arg5,
                                      int[] arg6,
                                      long[] arg7,
                                      int[] arg8,
                                      int[] arg9,
                                      SWIGTYPE_p_p_bioapi_data arg10)

BioAPI_IdentifyMatch

public static long BioAPI_IdentifyMatch(long arg0,
                                        int arg1,
                                        int arg2,
                                        long arg3,
                                        BioAPI_INPUT_BIR arg4,
                                        BioAPI_IDENTIFY_POPULATION arg5,
                                        long arg6,
                                        long arg7,
                                        long[] arg8,
                                        SWIGTYPE_p_p_p_bioapi_candidate arg9,
                                        int arg10)

BioAPI_Identify

public static long BioAPI_Identify(long arg0,
                                   int arg1,
                                   int arg2,
                                   long arg3,
                                   BioAPI_IDENTIFY_POPULATION arg4,
                                   long arg5,
                                   long arg6,
                                   long[] arg7,
                                   SWIGTYPE_p_p_p_bioapi_candidate arg8,
                                   int arg9,
                                   int[] arg10)

BioAPI_Import

public static long BioAPI_Import(long arg0,
                                 BioAPI_DATA arg1,
                                 BioAPI_BIR_BIOMETRIC_DATA_FORMAT arg2,
                                 short arg3,
                                 int[] OUTPUT)

BioAPI_SetPowerMode

public static long BioAPI_SetPowerMode(long arg0,
                                       long arg1)

BioAPI_DbOpen

public static long BioAPI_DbOpen(long arg0,
                                 short arg1,
                                 long arg2,
                                 int[] arg3,
                                 long[] arg4)

BioAPI_DbClose

public static long BioAPI_DbClose(long arg0,
                                  int arg1)

BioAPI_DbCreate

public static long BioAPI_DbCreate(long arg0,
                                   short arg1,
                                   long arg2,
                                   int[] OUTPUT)

BioAPI_DbDelete

public static long BioAPI_DbDelete(long arg0,
                                   short arg1)

BioAPI_DbSetCursor

public static long BioAPI_DbSetCursor(long arg0,
                                      int arg1,
                                      SWIGTYPE_p_a_16__unsigned_char arg2,
                                      long[] OUTPUT)

BioAPI_DbFreeCursor

public static long BioAPI_DbFreeCursor(long arg0,
                                       long arg1)

BioAPI_DbStoreBIR

public static long BioAPI_DbStoreBIR(long arg0,
                                     BioAPI_INPUT_BIR arg1,
                                     int arg2,
                                     SWIGTYPE_p_a_16__unsigned_char OUTPUT)

BioAPI_DbGetBIR

public static long BioAPI_DbGetBIR(long arg0,
                                   int arg1,
                                   SWIGTYPE_p_a_16__unsigned_char arg2,
                                   int[] arg3,
                                   long[] arg4)

BioAPI_DbGetNextBIR

public static long BioAPI_DbGetNextBIR(long INPUT,
                                       long[] INOUT,
                                       int[] arg2,
                                       SWIGTYPE_p_a_16__unsigned_char arg3)

BioAPI_DbQueryBIR

public static long BioAPI_DbQueryBIR(long arg0,
                                     int arg1,
                                     BioAPI_INPUT_BIR arg2,
                                     SWIGTYPE_p_a_16__unsigned_char OUTPUT)

BioAPI_DbDeleteBIR

public static long BioAPI_DbDeleteBIR(long arg0,
                                      int arg1,
                                      SWIGTYPE_p_a_16__unsigned_char arg2)

getBirFromHandle

public static BioAPI_BIR getBirFromHandle(long moduleHandle,
                                          int handle)
                                   throws BioApiException
Throws:
BioApiException

getStructuredUuid

public static SWIGTYPE_p_a_16__unsigned_char getStructuredUuid(java.lang.String INPUT)
                                                        throws BioApiException
Throws:
BioApiException

getPrintableUUID

public static java.lang.String getPrintableUUID(SWIGTYPE_p_a_16__unsigned_char INPUT)

attachModule

public static long attachModule(SWIGTYPE_p_a_16__unsigned_char uuid,
                                BioAPI_MEMORY_FUNCS memoryFuncs,
                                long DeviceID)
                         throws BioApiException
Throws:
BioApiException

detachModule

public static void detachModule(long bspHandle)
                         throws BioApiException
Throws:
BioApiException

getNumberOfModules

public static long getNumberOfModules()

getSchemas

public static BioAPI_BSP_SCHEMA getSchemas()

loadModule

public static void loadModule(SWIGTYPE_p_a_16__unsigned_char uuid)
                       throws BioApiException
Throws:
BioApiException

unloadModule

public static void unloadModule(SWIGTYPE_p_a_16__unsigned_char uuid)
                         throws BioApiException
Throws:
BioApiException

loadModuleWithCallbacks

public static void loadModuleWithCallbacks(SWIGTYPE_p_a_16__unsigned_char uuid,
                                           SWIGTYPE_p_f_p_q_const__a_16__unsigned_char_p_void_unsigned_int_unsigned_int_unsigned_int__unsigned_int appNotifyCallback,
                                           SWIGTYPE_p_void appNotifyCallbackContext)
                                    throws BioApiException
Throws:
BioApiException

unloadModuleWithCallbacks

public static void unloadModuleWithCallbacks(SWIGTYPE_p_a_16__unsigned_char uuid,
                                             SWIGTYPE_p_f_p_q_const__a_16__unsigned_char_p_void_unsigned_int_unsigned_int_unsigned_int__unsigned_int appNotifyCallback,
                                             SWIGTYPE_p_void appNotifyCallbackContext)
                                      throws BioApiException
Throws:
BioApiException

init

public static void init()
                 throws BioApiException
Throws:
BioApiException

enroll

public static int enroll(long moduleHandle,
                         short purpose,
                         int timeout)
                  throws BioApiException
Throws:
BioApiException

enrollWithPayload

public static int enrollWithPayload(long moduleHandle,
                                    short purpose,
                                    BioAPI_DATA payload,
                                    int timeout)

enrollAndAdapt

public static int enrollAndAdapt(long moduleHandle,
                                 short purpose,
                                 BioAPI_INPUT_BIR storedTemplate,
                                 int timeout)

enrollAndAdaptWithPayload

public static int enrollAndAdaptWithPayload(long moduleHandle,
                                            short purpose,
                                            BioAPI_INPUT_BIR storedTemplate,
                                            BioAPI_DATA payload,
                                            int timeout)

terminate

public static void terminate()
                      throws BioApiException
Throws:
BioApiException

getInputBIR

public static BioAPI_INPUT_BIR getInputBIR(BioAPI_BIR bir)

verify

public static verifyResult verify(long moduleHandle,
                                  int far,
                                  int frr,
                                  long farOrFrr,
                                  BioAPI_INPUT_BIR inputBir,
                                  int timeout)
                           throws BioApiException
Throws:
BioApiException

verifyBir

public static verifyResult verifyBir(long moduleHandle,
                                     int far,
                                     int frr,
                                     long farOrFrr,
                                     BioAPI_BIR bir,
                                     int timeout)

getBirHeaderByteBuffer

public static java.nio.ByteBuffer getBirHeaderByteBuffer(BioAPI_BIR bir)

getBirDataByteBuffer

public static java.nio.ByteBuffer getBirDataByteBuffer(BioAPI_BIR bir)

getBirSignatureByteBuffer

public static java.nio.ByteBuffer getBirSignatureByteBuffer(BioAPI_BIR bir)

setBirHeader

public static void setBirHeader(BioAPI_BIR bir,
                                java.nio.ByteBuffer headerBuffer)

setBirData

public static void setBirData(BioAPI_BIR bir,
                              java.nio.ByteBuffer dataBuffer)

setSignatureData

public static void setSignatureData(BioAPI_BIR bir,
                                    java.nio.ByteBuffer signatureBuffer)