Show / Hide Table of Contents

GetData Method

GetData()

Return the boolean indicating mutual auth or not, along with the value portion of the Response Data, namely, Client Authentication Challenge.

C#
public (bool isMutualAuth, ReadOnlyMemory<byte> clientAuthenticationChallenge) GetData()

Returns

(bool isMutualAuth, ReadOnlyMemory<byte> clientAuthenticationChallenge)

A (bool, byte array) tuple
if this is mutual auth and
the 8 bytes that make up the Client Authentication Challenge.

Implements

IYubiKeyResponseWithData<TData>.GetData()

Exceptions

Type Condition
InvalidOperationException

Thrown when Status is not Success.

In this article
Back to top Generated by DocFX