Generates a private key for the specified asymmetric algorithm based on the specified curve.

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

Syntax

Visual Basic
Public Sub GenerateKey ( _
	algorithm As AsymmetricKeyAlgorithmId, _
	curve As String _
)
C#
public void GenerateKey(
	AsymmetricKeyAlgorithmId algorithm,
	string curve
)

Parameters

algorithm
Type: Rebex.Security.Cryptography..::..AsymmetricKeyAlgorithmId
Key algorithm.
curve
Type: System..::..String
Curve name or OID.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also