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