Loads a PKCS #8 or SSLeay-format RSA or DSA private key from the specified stream.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
| Visual Basic |
|---|
Public Sub New ( _ input As Stream, _ password As String _ ) |
| C# |
|---|
public SshPrivateKey( Stream input, string password ) |
Parameters
- input
- Type: System.IO..::..Stream
A stream from which to load the private key.
- password
- Type: System..::..String
Password used to encrypted the private key, or null if no password needed.