SessionKeys Class
Namespace: Yubico.YubiKey.YubiHsmAuth Assembly: Yubico.YubiKey.dllThese 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 : Object
Inheritance
System.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. |