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