CryptoSys PKI Pro Manual

eccReadKeyByCurve

Read an EC key from its hexadecimal representation.

Syntax

[VBA]
Public Function eccReadKeyByCurve ( _
    szHexKey As String, _
    szCurveName As String, _
    Optional nOptions As Long = 0 _
) As String

Parameters

szHexKey
Hexadecimal representation of the key, private or public.
szCurveName
Name of the elliptic curve.
nOptions
For Safe Curves specify PKI_ECC_PRIVATE_KEY or PKI_ECC_PUBLIC_KEY to indicate that the key value represents a private or public key, respectively. Otherwise, nOptions is ignored.

Return Value

String: The key in ephemeral "internal" representation, or empty string on error.
[PREV: eccQueryKey...]   [Contents]   [Index]   
   [NEXT: eccReadPrivateKey...]

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