Query an EC key string for selected information.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.25611 (23.0.0.0)
Syntaxpublic static string QueryKey(
string internalKey,
string query
)
Public Shared Function QueryKey (
internalKey As String,
query As String
) As String
Parameters
- internalKey String
- containing the key as an internal key string
- query String
- Query string (case insensitive)
Return Value
StringString containing the result or an empty string if not found or error.
RemarksValid 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