Imports a private key from the specified Diffie-Hellman parameters, or generates a new key using P and G parameters.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub ImportKey ( _
	key As DiffieHellmanParameters _
)
C#
public void ImportKey(
	DiffieHellmanParameters key
)

Parameters

key
Type: Rebex.Security.Cryptography..::..DiffieHellmanParameters
Diffie-Hellman key parameters.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also