Creates an SSH public 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 SshPublicKey( AsymmetricAlgorithm algorithm ) |
Parameters
- algorithm
- Type: System.Security.Cryptography..::..AsymmetricAlgorithm
An RSA or DSA object.