Show / Hide Table of Contents

Aes128CredentialWithSecrets Class

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

This class is used when adding a new credential with AES-128 keys to the YubiHSM Auth application.

C#
public class Aes128CredentialWithSecrets : CredentialWithSecrets
Inheritance object Credential CredentialWithSecrets Aes128CredentialWithSecrets

Constructors

Name Description
Aes128CredentialWithSecrets(ReadOnlyMemory<byte>, ReadOnlyMemory<byte>, ReadOnlyMemory<byte>, string, bool)

Create an AES-128 credential to be stored in the YubiHSM Auth application.

Fields

Name Description
RequiredKeySize

An AES-128 key must be exactly 16 bytes. This applies to both the Encryption and MAC key.

Properties

Name Description
EncryptionKey

The AES-128 key used for encryption. Its length must be equal to RequiredKeySize.

MacKey

The AES-128 key used for message authentication (MAC). Its length must be equal to RequiredKeySize.

In this article
Back to top Generated by DocFX