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 Type
    Method
    Description
    byte
    Gets the biometric type.
    short
    getPublicData(short publicOffset, byte[] dest, short destOffset, short length)
    Gets the public part of the biometric template data.
    boolean
    Indicates whether the BioTemplateData is completely loaded/initialized.
  • Method Details

    • getBioType

      byte getBioType()
      Gets the biometric type. Valid type are described in Bio1toNBuilder.
      Returns:
      the biometric type.
    • isInitialized

      boolean isInitialized()
      Indicates whether the BioTemplateData 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: