Show / Hide Table of Contents

InitializeAuthenticateManagementKeyResponse Constructor

InitializeAuthenticateManagementKeyResponse(ResponseApdu)

C#
[Obsolete("This constructor is deprecated. Users must specify management key algorithm type, as it cannot be assumed.")]
public InitializeAuthenticateManagementKeyResponse(ResponseApdu responseApdu)

Parameters

Type Name Description
ResponseApdu responseApdu

InitializeAuthenticateManagementKeyResponse(ResponseApdu, PivAlgorithm)

Constructs an InitializeAuthenticateManagementKeyResponse based on a ResponseApdu received from the YubiKey for the specified algorithm.

C#
public InitializeAuthenticateManagementKeyResponse(ResponseApdu responseApdu, PivAlgorithm algorithm)

Parameters

Type Name Description
ResponseApdu responseApdu

The object containing the Response APDU
returned by the YubiKey.

PivAlgorithm algorithm

The algorithm of the management key. It must be TripleDes, Aes128, Aes192, or Aes256,

Exceptions

Type Condition
MalformedYubiKeyResponseException

Thrown when the data provided does not meet the expectations, and cannot be parsed.

In this article
Back to top Generated by DocFX