public interface OwnerBioTemplate extends BioTemplate
OwnerBioTemplate
interface should be implemented by the
applet which owns the biometric template. It extends the
BioTemplate
interface and adds functionality to enroll a
reference template.MATCH_NEEDS_MORE_DATA, MINIMUM_SUCCESSFUL_MATCH_SCORE
Modifier and Type | Method and Description |
---|---|
void |
doFinal()
Finalizes the enrollment of a reference template.
|
void |
init(byte[] bArray,
short offset,
short length)
Initializes the enrollment 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 enrollment of a reference template.
|
getBioType, getPublicTemplateData, getTriesRemaining, getVersion, initMatch, isInitialized, isValidated, match, reset
void init(byte[] bArray, short offset, short length) throws BioException
init
,[update
],doFinal
.
Calling init and doFinal
is mandatory, calling
update
is optional.bArray
- -
byte array containing the data of the templateoffset
- -
starting offset in the bArray
length
- -
byte length of the template data in the bArray
BioException
- with the following reason codes:
BioException.INVALID_DATA
if the
submitted template data does not have the required format.
void update(byte[] bArray, short offset, short length) throws BioException
init
,[update
],doFinal
.
Calling init
and doFinal
is mandatory,
calling update
is optional.bArray
- -
byte array containing the data of the templateoffset
- -
starting offset in the bArray
length
- -
byte length of the template data in the bArray
BioException
- with the following reason codes:
BioException.ILLEGAL_USE
if the
reference is already initialized or the current enrollment
state doesn't expect this method.
BioException.INVALID_DATA
if the
submitted template data does not have the required format.
void doFinal() throws BioException
init
,[update
],doFinal
.
Calling init
and doFinal
is mandatory,
calling update
is optional.BioException
- with the following reason codes:
BioException.ILLEGAL_USE
if the
reference is already initialized or the current enrollment
state doesn't expect this method.
BioException.INVALID_DATA
if the
submitted template data does not have the required format.
void resetUnblockAndSetTryLimit(byte newTryLimit) throws BioException
newTryLimit
- -
the number of tries allowed before the reference is blocked.
newTryLimit
must be at least 1.BioException
- with the following reason codes:
BioException.ILLEGAL_VALUE
if the
newTryLimit
parameter is less than 1.
Copyright © 1998, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms