Show / Hide Table of Contents

GetAes128SessionKeysResponse Class

Namespace: Yubico.YubiKey.YubiHsmAuth.Commands Assembly: Yubico.YubiKey.dll

The response class to retrieve session keys for establishing a secure connection with a YubiHSM 2 device.

C#
public class GetAes128SessionKeysResponse : BaseYubiHsmAuthResponseWithRetries, IYubiKeyResponseWithData<SessionKeys>, IYubiKeyResponse
Inheritance object YubiKeyResponse BaseYubiHsmAuthResponse BaseYubiHsmAuthResponseWithRetries GetAes128SessionKeysResponse
Implements
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.

In this article
Back to top Generated by DocFX