Class GetAssertionResponse
This is the partner response class to the GetAssertionCommand command class.
public class GetAssertionResponse : Fido2Response, IYubiKeyResponseWithData<GetAssertionData>, IYubiKeyResponse
- Inheritance
-
objectGetAssertionResponse
- Implements
- Inherited Members
Constructors
GetAssertionResponse(ResponseApdu)
Constructs a new instance of the GetAssertionResponse class based on a response APDU provided by the YubiKey.
public GetAssertionResponse(ResponseApdu responseApdu)
Parameters
responseApdu
ResponseApduA response APDU containing the CBOR response for the
authenticatorGetAssertion
command.
Methods
GetData()
Returns a new instance of GetAssertionData containing the credential (a public key) and other information.
public GetAssertionData GetData()
Returns
- GetAssertionData
A new instance of
GetAssertionData
.
Exceptions
- InvalidOperationException
The response indicates there was an error, so there is no data to return.