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.