Interface BioTemplateData
- All Known Subinterfaces:
OwnerBioTemplateData, SharedBioTemplateData
public interface BioTemplateData
The
BioTemplateData interface is the base interface for all
biometric template data container. It provides the user interface for accessing
biometric template data.- Since:
- 3.0.5
-
Method Summary
Modifier and TypeMethodDescriptionbyteGets the biometric type.shortgetPublicData(short publicOffset, byte[] dest, short destOffset, short length) Gets the public part of the biometric template data.booleanIndicates whether theBioTemplateDatais completely loaded/initialized.
-
Method Details
-
getBioType
byte getBioType()Gets the biometric type. Valid type are described inBio1toNBuilder.- Returns:
- the biometric type.
-
isInitialized
boolean isInitialized()Indicates whether theBioTemplateDatais completely loaded/initialized.- Returns:
trueif initialized,falseotherwise.
-
getPublicData
short getPublicData(short publicOffset, byte[] dest, short destOffset, short length) throws Bio1toNException Gets the public part of the biometric template data. This method copies all or a portion of the reference public data to the destination array.- Parameters:
publicOffset- the starting offset within the public data.dest- the destination byte array.destOffset- the starting offset within the destination byte array.length- the maximum length in bytes of the requested data.- Returns:
- the number of bytes written to the destination byte array;
0if no public data are available. - Throws:
Bio1toNException- with the following reason codes:Bio1toNException.NO_BIO_TEMPLATE_ENROLLEDif thisBioTemplateDatais uninitialized.
-