CredentialPassword Property
CredentialPassword
The credential password is required when performing operations that access the key(s), such as calculating session keys. Its length must be equal to RequiredCredentialPasswordLength.
C#
public ReadOnlyMemory<byte> CredentialPassword { get; set; }
Property Value
Type | Description |
---|---|
System.ReadOnlyMemory<System.Byte> |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The credential password does not meet the length requirements. |
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.