Click or drag to resize

RsaReadEncPrivateKey Method

Note: This API is now obsolete.

Read encrypted private key file into internal string format.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
[ObsoleteAttribute("Use Rsa.ReadPrivateKey() instead", false)]
public static StringBuilder ReadEncPrivateKey(
	string privateKeyFile,
	string password
)

Parameters

privateKeyFile  String
filename of a binary BER-encoded encrypted private key info file
password  String
password for key file

Return Value

StringBuilder
StringBuilder containing an internal representation of the private key; or an empty StringBuilder if error
Remarks
This returns a StringBuilder, not a string. Use sb.ToString() to obtain a string.
See Also