Package org.jmrtd.cbeff
Class ISO781611Encoder<B extends BiometricDataBlock>
- java.lang.Object
-
- org.jmrtd.cbeff.ISO781611Encoder<B>
-
- Type Parameters:
B
- the biometric data block type to use
- All Implemented Interfaces:
ISO781611
public class ISO781611Encoder<B extends BiometricDataBlock> extends Object implements ISO781611
ISO 7816-11 encoder for BIR.- Version:
- $Revision: 1765 $
- Author:
- The JMRTD team ([email protected])
-
-
Field Summary
-
Fields inherited from interface org.jmrtd.cbeff.ISO781611
BIOMETRIC_DATA_BLOCK_CONSTRUCTED_TAG, BIOMETRIC_DATA_BLOCK_TAG, BIOMETRIC_HEADER_TEMPLATE_BASE_TAG, BIOMETRIC_INFO_COUNT_TAG, BIOMETRIC_INFORMATION_GROUP_TEMPLATE_TAG, BIOMETRIC_INFORMATION_TEMPLATE_TAG, BIOMETRIC_SUBTYPE_TAG, BIOMETRIC_TYPE_TAG, CREATION_DATE_AND_TIME_TAG, CREATOR_OF_BIOMETRIC_REFERENCE_DATA, DISCRETIONARY_DATA_FOR_PAYLOAD_CONSTRUCTED_TAG, DISCRETIONARY_DATA_FOR_PAYLOAD_TAG, FORMAT_OWNER_TAG, FORMAT_TYPE_TAG, PATRON_HEADER_VERSION_TAG, SMT_DO_CC, SMT_DO_CG, SMT_DO_DS, SMT_DO_PV, SMT_TAG, VALIDITY_PERIOD_TAG
-
-
Constructor Summary
Constructors Constructor Description ISO781611Encoder(BiometricDataBlockEncoder<B> bdbEncoder)
Constructs an ISO7816-11 encoder that uses the given BDB encoder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(CBEFFInfo cbeffInfo, OutputStream outputStream)
Writes a BIT group to an output stream.
-
-
-
Constructor Detail
-
ISO781611Encoder
public ISO781611Encoder(BiometricDataBlockEncoder<B> bdbEncoder)
Constructs an ISO7816-11 encoder that uses the given BDB encoder.- Parameters:
bdbEncoder
- the BDB encoder to use
-
-
Method Detail
-
encode
public void encode(CBEFFInfo cbeffInfo, OutputStream outputStream) throws IOException
Writes a BIT group to an output stream.- Parameters:
cbeffInfo
- a CBEFF info containing the BIT groupoutputStream
- the output stream to write to- Throws:
IOException
- if something goes wrong
-
-