GetAes128SessionKeysResponse Class
Namespace: Yubico.YubiKey.YubiHsmAuth.Commands Assembly: Yubico.YubiKey.dllThe response class to retrieve session keys for establishing a secure connection with a YubiHSM 2 device.
public class GetAes128SessionKeysResponse : BaseYubiHsmAuthResponseWithRetries, IYubiKeyResponseWithData<SessionKeys>, IYubiKeyResponse
Remarks
If authentication with the credential's password failed, the Status will be set to AuthenticationRequired and RetriesRemaining will contain the number of retries remaining for the credential's password.
A credential may require the user to touch the YubiKey as part of the authentication procedure (see TouchRequired). If this proof of user presence fails, the Status will be set to RetryWithTouch, and the credential password retry count is not changed.
The associated command class is GetAes128SessionKeysCommand.
Constructors
Name | Description |
---|---|
GetAes128SessionKeysResponse(ResponseApdu) | Constructs a GetSessionKeysResponse based on a ResponseApdu received from the YubiKey. |
Methods
Name | Description |
---|---|
GetData() | Get the keys to create a secure session with a YubiHSM 2 device. |