Loads a PKCS #8 or SSLeay-format RSA or DSA private key from the specified raw data.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Sub New ( _
	data As Byte(), _
	password As String _
)
C#
public SshPrivateKey(
	byte[] data,
	string password
)

Parameters

data
Type: array<System..::..Byte>[]()[][]
Raw private key data.
password
Type: System..::..String
Password used to encrypted the private key, or null if no password needed.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also