Associates the supplied private key with the certificate to perform operations that need a private key.

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

Syntax

Visual Basic
Public Sub Associate ( _
	privateKey As AsymmetricAlgorithm _
)
C#
public void Associate(
	AsymmetricAlgorithm privateKey
)

Parameters

privateKey
Type: System.Security.Cryptography..::..AsymmetricAlgorithm
An instance of RSA, DSA, RSACryptoServiceProvider or DSACryptoServiceProvider.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also