InitializeAuthenticateManagementKeyResponse Constructor
InitializeAuthenticateManagementKeyResponse(ResponseApdu)
Constructs an InitializeAuthenticateManagementKeyResponse based on a ResponseApdu received from the YubiKey for the Triple-DES algorithm.
C#
public InitializeAuthenticateManagementKeyResponse(ResponseApdu responseApdu)
Parameters
Type | Name | Description |
---|---|---|
ResponseApdu | responseApdu | The object containing the Response APDU |
Exceptions
Type | Condition |
---|---|
MalformedYubiKeyResponseException | Thrown when the data provided does not meet the expectations, and cannot be parsed. |
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 |
PivAlgorithm | algorithm | The algorithm of the management key. It must be |
Exceptions
Type | Condition |
---|---|
MalformedYubiKeyResponseException | Thrown when the data provided does not meet the expectations, and cannot be parsed. |