Recognize Key Material
recognize_key_materialIdentify a PKCS#8 private key or SPKI public key from DER, PEM, HEX, or base64 input, returning key family, label, and capabilities.
Instructions
Recognize a PKCS#8 private key or SPKI public key and return its key family, label, and capabilities.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data": "<data>",
"kind": "<kind>"
},
"name": "recognize_key_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | PKCS#8 private key or SPKI public key as DER, PEM, HEX, or base64 text. | |
| kind | Yes | Whether data is a PKCS#8 private key or SPKI public key. | |
| format | No | Input format. Use auto to detect PEM, HEX, base64, DER, or BER. | auto |