Class VerifyFipsModeResponse
The response to the VerifyFipsModeCommand command, containing the response from the YubiKey.
public sealed class VerifyFipsModeResponse : U2fResponse, IYubiKeyResponseWithData<bool>, IYubiKeyResponse
- Inheritance
-
objectVerifyFipsModeResponse
- Implements
-
IYubiKeyResponseWithData<bool>
- Inherited Members
Constructors
VerifyFipsModeResponse(ResponseApdu)
Constructs a VerifyFipsModeResponse based on a ResponseApdu received from the YubiKey.
public VerifyFipsModeResponse(ResponseApdu responseApdu)
Parameters
responseApdu
ResponseApduThe 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
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".