public static class TLVList.TLVListBuilder
extends java.lang.Object
Constructor and Description |
---|
TLVListBuilder() |
Modifier and Type | Method and Description |
---|---|
TLVList |
build()
Build TLV engine.
|
static TLVList.TLVListBuilder |
createInstance()
Creates instance of TLV engine builder.
|
TLVList.TLVListBuilder |
fixedLengthSize(int lengthSize)
Forces a fixed size of length.
|
TLVList.TLVListBuilder |
fixedTagSize(int tagSize)
Forces a fixed size of tag.
|
public static TLVList.TLVListBuilder createInstance()
public TLVList.TLVListBuilder fixedTagSize(int tagSize)
It disables tag size autodetection according with ISO/IEC 7816-4 BER-TLV.
tagSize
- The size of tag in bytespublic TLVList.TLVListBuilder fixedLengthSize(int lengthSize)
It disables length size autodetection according with ISO/IEC 7816-4 BER-TLV.
lengthSize
- The size of length in bytes (1 - 4)public TLVList build()