GetData Method
GetData()
Retrieves and converts the response data from an APDU response into a dictionary of TLV tags and their corresponding values.
C#
public Dictionary<int, ReadOnlyMemory<byte>> GetData()
Returns
System.Collections.Generic.Dictionary<System.Int32, System.ReadOnlyMemory<System.Byte>>
A dictionary mapping integer tags to their corresponding values as byte arrays.
Implements
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the response status is not successful. |
MalformedYubiKeyResponseException | Thrown when the APDU data length exceeds expected bounds or if the data conversion fails. |