CryptoSys PKI Pro Manual

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.
[PREV: eccReadKeyByCurve...]   [Contents]   [Index]   
   [NEXT: eccReadPublicKey...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.