CryptoSys PKI Pro Manual

Ecc.QueryKey Method

Query an EC key string for selected information.

Syntax

[C#]
public static string QueryKey(
	string internalKey,
	string query
)
[VB.NET]
Public Shared Function QueryKey ( _
	internalKey As String, _
	query As String _
) As String

Parameters

internalKey
containing the key as an internal key string
query
Query string (case insensitive)

Return Value

String containing the result or an empty string if not found or error.

Remarks

Valid queries are:

"curveName" Name of the curve.
"keyBits" Number of bits in the key.
"isPrivate" "1" if key is a private key; "0" if not.
"privateKey" Value of the private key in hex format.
"publicKey" Value of the public key in hex format.

See Also

VB6/C equivalent: ECC_QueryKey

[Contents] [Index]

[PREV: Ecc.PublicKeyFromPrivate Method...]   [Contents]   [Index]   
   [NEXT: Ecc.ReadKeyByCurve Method...]

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