RSAOAEPKeyExchangeFormatter.Parameter Property

Definition

Gets or sets the parameter used to create padding in the key exchange creation process.

public:
 property cli::array <System::Byte> ^ Parameter { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[]? Parameter { get; set; }
public byte[] Parameter { get; set; }
member this.Parameter : byte[] with get, set
Public Property Parameter As Byte()

Property Value

Byte[]

The parameter value.

Examples

The following code example demonstrates how to set the Parameter property to an InverseQ field. This code example is part of a larger example provided for the RSAOAEPKeyExchangeFormatter class.

rsaFormatter->Parameter = key->ExportParameters( true ).InverseQ;
rsaFormatter.Parameter = key.ExportParameters(true).InverseQ;
rsaFormatter.Parameter = key.ExportParameters(True).InverseQ

Applies to

See also