Package javacardx.biometry1toN
Interface BioTemplateData
-
- All Known Subinterfaces:
OwnerBioTemplateData
,SharedBioTemplateData
public interface BioTemplateData
TheBioTemplateData
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte
getBioType()
Gets the biometric type.short
getPublicData(short publicOffset, byte[] dest, short destOffset, short length)
Gets the public part of the biometric template data.boolean
isInitialized()
Indicates whether theBioTemplateData
is completely loaded/initialized.
-
-
-
Method Detail
-
getBioType
byte getBioType()
Gets the biometric type. Valid type are described inBio1toNBuilder
.- Returns:
- the biometric type.
-
isInitialized
boolean isInitialized()
Indicates whether theBioTemplateData
is completely loaded/initialized.- Returns:
true
if initialized,false
otherwise.
-
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;
0
if no public data are available. - Throws:
Bio1toNException
- with the following reason codes:Bio1toNException.NO_BIO_TEMPLATE_ENROLLED
if thisBioTemplateData
is uninitialized.
-
-