Package org.jpos.tlv

Class TLVList.TLVListBuilder

    • Method Detail

      • fixedTagSize

        public TLVList.TLVListBuilder fixedTagSize​(int tagSize)
        Forces a fixed size of tag.

        It disables tag size autodetection according with ISO/IEC 7816-4 BER-TLV.

        Parameters:
        tagSize - The size of tag in bytes
        Returns:
        TLVList builder with fixed tag size
      • fixedLengthSize

        public TLVList.TLVListBuilder fixedLengthSize​(int lengthSize)
        Forces a fixed size of length.

        It disables length size autodetection according with ISO/IEC 7816-4 BER-TLV.

        Parameters:
        lengthSize - The size of length in bytes (1 - 4)
        Returns:
        TLVList builder with fixed length size
      • build

        public TLVList build()
        Build TLV engine.
        Returns:
        configured TLV engine