Creates an SSH private key based on the specified RSA or DSA object.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ algorithm As AsymmetricAlgorithm _ ) |
C# |
---|
public SshPrivateKey( AsymmetricAlgorithm algorithm ) |
Parameters
- algorithm
- Type: System.Security.Cryptography..::..AsymmetricAlgorithm
An RSA or DSA object.