Share via


SecretPrepend Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that will be added to the beginning of the secret agreement when deriving key material.

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Property SecretPrepend As Byte()
public byte[] SecretPrepend { get; set; }
public:
property array<unsigned char>^ SecretPrepend {
    array<unsigned char>^ get ();
    void set (array<unsigned char>^ value);
}
member SecretPrepend : byte[] with get, set
function get SecretPrepend () : byte[]
function set SecretPrepend (value : byte[])

Property Value

Type: array<System. . :: . .Byte> [] () [] []
The value that is appended to the beginning of the secret agreement during key derivation.

Remarks

This value is used for key derivation if the Hash or Hmac key derivation function (KDF) is used. The value is prepended to the secret agreement, and the combined value is passed to the key derivation function (KDF) to generate the key material. By default, the value is null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

.NET Framework Security

See Also

Reference

ECDiffieHellmanCryptoServiceProvider Class

System.Security.Cryptography Namespace