ChangePivManagementKey Field
Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dllIndicates that the SDK is requesting the current PIV management key and a new PIV management key, in order to change the key from the current to the new. Collect both the current and a new management key.
public const KeyEntryRequest ChangePivManagementKey
Returns
Remarks
When the Request
is this value, the delegate should collect two
keys and submit them using the SubmitValues
method.
When the KeyEntryData.Request
is this value and the
KeyEntryData.IsRetry
property is false
, the
KeyEntryData
is making the initial request.
When the KeyEntryData.Request
is this value and the
KeyEntryData.IsRetry
property is true
, the
KeyEntryData
is reporting that a previous attempt at changing
the management key failed and the KeyCollector
should try
again to obtain the values (unless the user decides to cancel).
Note that the most likely reason a change will fail is because the current management key was incorrect, but it can also fail if the new management key is not valid (e.g. too short).