Class ResetResponse
The response to the ResetCommand, containing the response from the YubiKey.
public sealed class ResetResponse : Fido2Response, IYubiKeyResponse
- Inheritance
-
objectResetResponse
- Implements
- Inherited Members
Remarks
This is the partner response class to ResetCommand.
After executing the ResetCommand
, the result is an
instance of this class. There is no data to return. Simply check the
Status
property. If it is ResponseStatus.Success
the
FIDO2 application was reset. If it is anything else, then the application
was not reset.
Constructors
ResetResponse(ResponseApdu)
Constructs a ResetResponse based on a ResponseApdu received from the YubiKey.
public ResetResponse(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 FIDO2 specifications.
protected override YubiKeyResponse.ResponseStatusPair StatusCodeMap { get; }