public interface OwnerBioTemplateData extends BioTemplateData
OwnerBioTemplateData
interface should be implemented by the
applet which owns the Biometric Template Data containers. It extends the
BioTemplateData
interface and adds functionality to enroll a
Biometric Template Data.Modifier and Type | Method and Description |
---|---|
void |
doFinal()
Finalizes the enrollment of biometric template data.
|
void |
init(byte[] bArray,
short offset,
short length)
Initializes the enrollment of biometric template data.
|
void |
update(byte[] bArray,
short offset,
short length)
Continues the enrollment of biometric template data.
|
getBioType, getPublicData, isInitialized
void init(byte[] bArray, short offset, short length) throws Bio1toNException
init
,[update
],doFinal
.
Calling #init
and doFinal
is mandatory, calling update
is
optional.bArray
- byte array containing the biometric template dataoffset
- starting offset in the bArray
length
- byte length of the template data in the bArray
Bio1toNException
- with the following reason codes:
Bio1toNException.INVALID_DATA
if the submitted biometric template data
does not have the required format. void update(byte[] bArray, short offset, short length) throws Bio1toNException
init
,[update
],doFinal
.
Calling init
and doFinal
is mandatory, calling
update
is optional.bArray
- byte array containing the biometric template dataoffset
- starting offset in the bArray
length
- byte length of the biometric template data in the
bArray
Bio1toNException
- with the following reason codes:
Bio1toNException.ILLEGAL_USE
if the biometric template data is already
initialized or the current enrollment state doesn't expect this method.
Bio1toNException.INVALID_DATA
if the submitted
biometric template data does not have the required format. void doFinal() throws Bio1toNException
init
,[update
],doFinal
. Calling init
and
doFinal
is mandatory, calling update
is optional.Bio1toNException
- with the following reason codes:
Bio1toNException.ILLEGAL_USE
if the biometric template data is already
initialized or the current enrollment state doesn't expect this method.
Bio1toNException.INVALID_DATA
if the submitted
biometric template data does not have the required format. Copyright © 1998, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms