Class GetKeyAgreementResponse
This is the partner response class to the GetKeyAgreementCommand command class.
public class GetKeyAgreementResponse : Fido2Response, IYubiKeyResponseWithData<CoseEcPublicKey>, IYubiKeyResponse
- Inheritance
-
objectGetKeyAgreementResponse
- Implements
- Inherited Members
Constructors
GetKeyAgreementResponse(ResponseApdu)
Constructs a new instance of the GetKeyAgreementResponse class based on a response APDU provided by the YubiKey.
public GetKeyAgreementResponse(ResponseApdu responseApdu)
Parameters
responseApdu
ResponseApduA response APDU containing the CBOR response for the
getKeyAgreement
subcommand of theauthenticatorClientPIN
CTAP2 command.
Methods
GetData()
Returns the YubiKey's public key for the key agreement algorithm of the PIN/UV auth protocol specified in the command.
public CoseEcPublicKey GetData()