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.