Click or drag to resize

PemReaderReadEncryptedPrivateKey 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 ReadEncryptedPrivateKey(
	string pem,
	string password
)

Parameters

pem
Type: SystemString
String to read from
password
Type: SystemString
Password.

Return Value

Type: RSACryptoServiceProvider
Certificate that was read.
See Also