Show / Hide Table of Contents

SessionKeys Class

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

These session keys are used to establish an encrypted and authenticated session with a YubiHSM 2 device. The secure session is based on the Global Platform Secure Channel Protocol '03' (SCP03).

C#
public class SessionKeys
Inheritance object SessionKeys

Remarks

These session keys are calculated from a credential in the YubiHSM Auth application. See GetAes128SessionKeysCommand and GetAes128SessionKeysResponse for more information on retrieving these values.

Constructors

Name Description
SessionKeys(ReadOnlyMemory<byte>, ReadOnlyMemory<byte>, ReadOnlyMemory<byte>)

Construct a set of session keys with the given values.

Properties

Name Description
EncryptionKey

Secure Channel command and response encryption session key.

MacKey

Secure Channel Message Authentication Code session key for commands.

RmacKey

Secure Channel Message Authentication Code session key for responses.

In this article
Back to top Generated by DocFX