| PemReaderReadPrivateKeyFromFile Method |
Reads private key from PEM file (BEGIN RSA PRIVATE KEY / BEGIN PRIVATE KEY).
Namespace:
Limilabs.Cryptography
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public RSACryptoServiceProvider ReadPrivateKeyFromFile(
string filename
)
Public Function ReadPrivateKeyFromFile (
filename As String
) As RSACryptoServiceProvider
public:
RSACryptoServiceProvider^ ReadPrivateKeyFromFile(
String^ filename
)
member ReadPrivateKeyFromFile :
filename : string -> RSACryptoServiceProvider
Parameters
- filename
- Type: SystemString
File to read from
Return Value
Type:
RSACryptoServiceProviderCertificate that was read.
See Also