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 |
---|---|
System.ReadOnlyMemory<System.Byte> |
Exceptions
Type | Condition |
---|---|
System.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.