|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The OwnerBioTemplate interface provides the ability to enrol a reference template and thus owner functionality.
BioBuilder,
BioTemplate| Field Summary |
| Fields inherited from interface org.javacardforum.javacard.biometry.BioTemplate |
MATCH_NEEDS_MORE_DATA, MINIMUM_SUCCESSFUL_MATCH_SCORE |
| Method Summary | |
void |
doFinal()
Finalizes the enrolment of a reference template. |
void |
init(byte[] bArray,
short offset,
short length)
Initializes the enrolment of a reference template. |
void |
resetUnblockAndSetTryLimit(byte newTryLimit)
Resets the validated flag, unblocks the reference, updates the try limit value and resets the try counter to the try limit value. |
void |
update(byte[] bArray,
short offset,
short length)
Continues the enrolment of a reference template. |
| Methods inherited from interface org.javacardforum.javacard.biometry.BioTemplate |
getBioType, getPublicTemplateData, getTriesRemaining, getVersion, initMatch, isInitialized, isValidated, match, reset |
| Method Detail |
public void init(byte[] bArray,
short offset,
short length)
throws BioException
Note:
init(byte[], short, short)-[update(byte[], short, short)]-doFinal().
Calling init(byte[], short, short) and doFinal()
is mandatory, calling update(byte[], short, short) is optional.
bArray - byte array containing the data of the templateoffset - starting offset in the bArraylength - byte length of the template data in the bArray
BioException - with reason BioException.INVALID_DATA
if the submitted candidate template data does not have the required format.
public void update(byte[] bArray,
short offset,
short length)
throws BioException
Note:
init(byte[], short, short)-[update(byte[], short, short)]-doFinal().
Calling init(byte[], short, short) and doFinal()
is mandatory, calling update(byte[], short, short) is optional.
bArray - byte array containing the data of the templateoffset - starting offset in the bArraylength - byte length of the template data in the bArray
BioException - with reason BioException.ILLEGAL_USE
if the reference is already initialized or the current enrolment state
doesn't expect this method.
public void doFinal()
throws BioException
Note:
init(byte[], short, short)-[update(byte[], short, short)]-doFinal().
Calling init(byte[], short, short) and doFinal()
is mandatory, calling update(byte[], short, short) is optional.
BioException - with reason BioException.ILLEGAL_USE
if the reference is already initialized or the current enrolment state
doesn't expect this method.
BioException - with reason BioException.INVALID_DATA
if the submitted candidate template data does not have the required format.
public void resetUnblockAndSetTryLimit(byte newTryLimit)
throws BioException
newTryLimit - the number of tries allowed before the reference is
blocked. Must be >= 1.
BioException - with reason BioException.ILLEGAL_USE
if newTryLimit parameter is less than 1.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||