|
CIC iSign Version 1.2 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
java.lang.Object
|
+--java.lang.Thread
|
+--InkTools.CicFingerPrint
This class provides a high level interface to the rather complex BioAPI for the use of a fingerprint scanner.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
CicFingerPrint()
Constructs a new FingerPrint Object. |
|
| Method Summary | |
void |
cancelOpp()
This method cancels the last initiated and completed operation. |
int |
CaptureFingerPrint()
Initiates the capture of a fingerprint. |
int |
EnrollFingerPrint()
Initiates the enrollment of a fingerprint. |
byte[] |
GetFingerPrintProcessedData()
This method returns a byte array with the processed data of the last fingerprint capture or verification process. |
byte[] |
GetFingerPrintRawData()
This method returns a byte array with the raw data of the last fingerprint capture or verification process. |
byte[] |
GetFingerPrintTemplateData()
This method returns a byte array with the template data of the last fingerprint enrollment process. |
java.lang.String |
GetLastErrorMsg()
This method returns the text of the last BioAPI error. |
int |
GetLastErrorNum()
This method returns the number of the last BioAPI error. |
int |
InitFPDevice(IFingerPrint interfaceFp)
Initializes the attached FingerPrint device This method calls the helper 'Win 32 DLL (CicFp.dll)' which uses the BioAPI, provided by the BSP (Biometric Service Provider), for access to the Fingerprint Device. |
void |
run()
Run: default method (from start() call). |
int |
VerifyFingerPrint(byte[] templData)
Initiates the verification of a fingerprint. |
int |
VerifyMatchFingerPrint(byte[] templData,
byte[] fpData)
Initiates the verification of a fingerprint. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CicFingerPrint()
| Method Detail |
public int InitFPDevice(IFingerPrint interfaceFp)
interfaceFp - Caller must implement the IFingerPrint interface
public void cancelOpp()
public int CaptureFingerPrint()
While the capturing process, GUI messages are sent to the MessageSink callback function. The GUI messages help the user with the capturing process.
public int EnrollFingerPrint()
This method returns immediately. The caller is getting notified through the StatusSink callback about the result. IFingerPrint.STATUS_ENROLL_OK or IFingerPrint.STATUS_ENROLL_FAILED are issued. If failed, GetLastErrorMsg() can be called for further information. IFingerPrint.STATUS_CANCELED is issued if the user cancels this operation. If the enrollment succeeded, call the GetFingerprintTemplateData() to get the created template.
GUI messages are send to the MessageSink callback function which will guide the user through the enrollment process.
public int VerifyFingerPrint(byte[] templData)
This method returns immediately. The caller is getting notified through the StatusSink callback about the result. IFingerPrint.STATUS_VERIFY_OK or IFingerPrint.STATUS_VERIFY_FAILED are issued. If failed, GetLastErrorMsg() can be called for further information. If status is IFingerPrint.STATUS_VERIFY_FAILED and no error message is reported, the fingerprint was not verified. IFingerPrint.STATUS_CANCELED is issued if the user cancels this operation. Processed and Raw data of the fingerprint are not available here.
GUI messages are send to the MessageSink callback function which will guide the user through the verification process.
templData - A previously generated fingerprint template
public int VerifyMatchFingerPrint(byte[] templData,
byte[] fpData)
No GUI messages or fingerprint data are generated with this function
templData - A previously generated fingerprint templatefpData - A previously captured fingerprint (processed data)
public java.lang.String GetLastErrorMsg()
public int GetLastErrorNum()
public byte[] GetFingerPrintProcessedData()
public byte[] GetFingerPrintRawData()
public byte[] GetFingerPrintTemplateData()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
CIC iSign Version 1.2 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||