ASN.1 Tag,Length,Value (TLV) object.
More...
|
| Asn1Tlv () |
| Create an empty TLV.
|
|
| Asn1Tlv (byte[] tag, byte[] value) |
| Create a TLV with given Tag and Value (Length set to value.Length)
|
|
| Asn1Tlv (ushort tag, byte[] value) |
| Create a TLV with given Tag and Value (Length set to value.Length)
|
|
Asn1Tlv | GetChild (int i) |
| In case the Value (V) field is a TLV itself, retrieve the i-th child.
|
|
Asn1Tlv | get_child (int i) |
|
int | GetChildrenCount () |
| In case the Value (V) field is a TLV itself, retrieve the number of childre.
|
|
int | count_children () |
|
byte [] | Serialize () |
| Serialize the TLV into an array of bytes.
|
|
|
static Asn1Tlv | Unserialize (byte[] buffer) |
| De-serialize an array of bytes into a TLV.
|
|
static Asn1Tlv | Unserialize (byte[] buffer, out byte[] remaining) |
| De-serialize an array of bytes into a TLV.
|
|
|
byte [] | T [get] |
| Retrieve the Tag (T) field as an array of bytes.
|
|
int | T_Length [get] |
| Retrieve the length (in bytes) of the Tag (T) field.
|
|
bool | T_IsByte [get] |
| Return true for a one-byte Tag (field T fits in 1 byte)
|
|
byte | T_AsByte [get, set] |
| Get/Set the Tag (T) field in case it fits in 1 byte.
|
|
bool | T_IsWord [get] |
| Return true for a two-byte Tag (field T fits in 2 bytes)
|
|
ushort | T_AsWord [get, set] |
| Get/Set the Tag (T) field in case it fits in 2 bytes.
|
|
long | L [get] |
| Retrieve the Length (L) field, i.e. the length (in bytes) of the Value (V) field.
|
|
int | L_Length [get] |
| Retrieve the length (in bytes) of the Length (L) field.
|
|
byte [] | V [get] |
| Retrieve the Value (V) field.
|
|
ASN.1 Tag,Length,Value (TLV) object.
The documentation for this class was generated from the following file:
- D:/dev/interne/springcard.software.multiprod/src/common/lib-cs/utils/asn1tlv.cs