rsaReadPrivateKey
Read private key from a file or string containing a key into an "internal" public key string.
Syntax
[VBA]
Public Function rsaReadPrivateKey ( _
szKeyFileOrString As String, _
Optional szPassword As String = "", _
Optional nOptions As Long = 0 _
) As String
Parameters
- szKeyFileOrString
- Name of file containing the key, or a string containing the key in PEM format or XML format.
- szPassword
- Password, if the key is encrypted, or
""
if not.
- nOptions
- For future use.
Return Value
String: String containing an internal representation of the private key, or an empty string on error.