com.upek.android.ptapi.struct
Class PtBir

java.lang.Object
  extended by com.upek.android.ptapi.struct.PtBir
All Implemented Interfaces:
java.io.Serializable

public class PtBir
extends java.lang.Object
implements java.io.Serializable

A container for biometric data. BIR (Biometric Identification Record). It can be enrolled template, audit data etc. BIR consists of a header, followed by the opaque data and optionally by a signature. This type is binary compatible with BioAPI's BioAPI_BIR. The only difference is, that in BioAPI_BIR the data are divided into four separate memory blocks, while PT_BIR keeps all the data together.

This type is exactly equivalent to BioAPI's BioAPI_BIR_HEADER. All the integer values in the header are little-endians to ensure portability between different computers.

See Also:
Serialized Form

Field Summary
 byte[] data
           
 int factorsMask
           
 short formatID
           
 short formatOwner
           
 byte headerVersion
           
 byte purpose
           
 byte quality
           
 byte type
           
 
Constructor Summary
PtBir()
           
 
Method Summary
 byte[] getPtDataFormat()
          Returns structure stored in byte buffer with same structure, which is used in native TFM library.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public byte[] data

factorsMask

public int factorsMask

formatID

public short formatID

formatOwner

public short formatOwner

headerVersion

public byte headerVersion

purpose

public byte purpose

quality

public byte quality

type

public byte type
Constructor Detail

PtBir

public PtBir()
Method Detail

getPtDataFormat

public byte[] getPtDataFormat()
Returns structure stored in byte buffer with same structure, which is used in native TFM library. Can be used e.g. for verification of signature.

Returns:
structure encoded in byte array