Click or drag to resize

EccQueryKey Method

Query an EC key string for selected information.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static string QueryKey(
	string internalKey,
	string query
)

Parameters

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

Return Value

String
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