Show / Hide Table of Contents

GetData Method

GetData()

Gets the attestation statement from the YubiKey response.

C#
public X509Certificate2 GetData()

Returns

X509Certificate2

The X.509 cert in the response APDU, presented as a System.Security.Cryptography.X509Certificates.X509Certificate2.

Implements

IYubiKeyResponseWithData<TData>.GetData()

Exceptions

Type Condition
InvalidOperationException

Thrown when Status is not Success.

In this article
Back to top Generated by DocFX