Table of Contents

Class VerifyFipsModeResponse

Namespace
Yubico.YubiKey.U2f.Commands
Assembly
Yubico.YubiKey.dll

The response to the VerifyFipsModeCommand command, containing the response from the YubiKey.

public sealed class VerifyFipsModeResponse : U2fResponse, IYubiKeyResponseWithData<bool>, IYubiKeyResponse
Inheritance
object
VerifyFipsModeResponse
Implements
Inherited Members

Constructors

VerifyFipsModeResponse(ResponseApdu)

Constructs a VerifyFipsModeResponse based on a ResponseApdu received from the YubiKey.

public VerifyFipsModeResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

The object containing the response APDU returned by the YubiKey.

Properties

StatusCodeMap

Overridden to modify the messages associated with certain status words. The messages match the status words' meanings as described in the FIDO U2F specifications.

protected override YubiKeyResponse.ResponseStatusPair StatusCodeMap { get; }

Property Value

YubiKeyResponse.ResponseStatusPair

Methods

GetData()

Gets the response data, presented as a boolean value.

public bool GetData()

Returns

bool

Returns true if (and only if) the YubiKey U2F application is currently in "FIPS Approved mode".