Click or drag to resize

PemReaderReadEncryptedPrivateKeyFromFile Method

Reads encrypted private key from PEM file (BEGIN ENCRYPTED PRIVATE KEY / BEGIN RSA PRIVATE KEY).

Namespace:  Limilabs.Cryptography
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public RSACryptoServiceProvider ReadEncryptedPrivateKeyFromFile(
	string filename,
	string password
)

Parameters

filename
Type: SystemString
File to read from
password
Type: SystemString
Password.

Return Value

Type: RSACryptoServiceProvider
Certificate that was read.
See Also