eccReadPrivateKey
Read an EC private key from a file into an internal key string.
Syntax
[VBA]
Public Function eccReadPrivateKey ( _
szKeyFileOrString As String, _
Optional szPassword As String = "", _
Optional nOptions As Long = 0 _
) As String
Parameters
- szKeyFileOrString
- Either the name of file containing the key or a string containing the key in PEM format.
- szPassword
- Password for the key file, if encrypted; otherwise set as
""
.
- nOptions
- For future use.
Return Value
String: String containing an internal representation of the private key, or empty string on error.