CryptoSys PKI Pro Manual

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

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