| 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
)
Public Function ReadEncryptedPrivateKey (
pem As String,
password As String
) As RSACryptoServiceProvider
public:
RSACryptoServiceProvider^ ReadEncryptedPrivateKey(
String^ pem,
String^ password
)
member ReadEncryptedPrivateKey :
pem : string *
password : string -> RSACryptoServiceProvider
Parameters
- pem
- Type: SystemString
String to read from - password
- Type: SystemString
Password.
Return Value
Type:
RSACryptoServiceProviderCertificate that was read.
See Also