Show / Hide Table of Contents

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

Dictionary<int, ReadOnlyMemory<byte>>

A dictionary mapping integer tags to their corresponding values as byte arrays.

Implements

IYubiKeyResponseWithData<TData>.GetData()

Exceptions

Type Condition
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.

In this article
Back to top Generated by DocFX