Parses a sequence of TLV encoded data objects.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Sub Parse( _ 
ByVal vbData As Byte() _ 
)
This language is not supported or no code example is available.
public void Parse( 
byte[] vbData 
)
This language is not supported or no code example is available.
public:  
void Parse( 
array< Byte >^ vbData 
)
This language is not supported or no code example is available.
public function Parse( 
vbData : byte[] 
);
This language is not supported or no code example is available.

Parameters

vbData
Type: byte[]

Provides the raw binary data to be parsed. Must not be null.

If the parsed tag of any TLV data object of the parsed sequence indicates a constructed data object, then it will be recursively parsed until all contained data objects have been parsed. Thus effectively creating a tree of CardDataObjectList and CardDataObject instances.

Any empty filler bytes with the value 0x00 or 0xFF before, between or after the actual TLV data objects are skipped. This is also true for the content of any constructed data objects.

If the parsed data contains an invalid TLV encoding, or ends with an incomplete TLV data object, then a System.FormatException will be thrown.

All parsed data objects are added at the end of this list. If the nLength was zero, or the data only contains empty filler bytes, then nothing will be added.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0