Show / Hide Table of Contents

MacKey Property

MacKey

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

C#
public ReadOnlyMemory<byte> MacKey { get; set; }

Property Value

Type Description
ReadOnlyMemory<byte>

Exceptions

Type Condition
ArgumentException

Thrown when the key does not have the required size.

Remarks

The caller is responsible for controlling the buffer which holds this value, and should overwrite the data after the command (see AddCredentialCommand) is sent. The user's manual entry "Sensitive Data" has further details and recommendations for handling this kind of data.

In this article
Back to top Generated by DocFX