Verify Key Pair
verify_key_pairVerify a private key matches its corresponding public key by signing and verifying sample data.
Instructions
Verify that a PKCS#8 private key matches an SPKI public key by signing and verifying sample data.
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": {
"privateKey": "<privateKey>",
"publicKey": "<publicKey>"
},
"name": "verify_key_pair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| privateKey | Yes | PKCS#8 private key as DER, PEM, HEX, or base64 text. | |
| privateKeyFormat | No | Input format. Defaults to auto detection. | |
| publicKey | Yes | SPKI public key as DER, PEM, HEX, or base64 text. | |
| publicKeyFormat | No | Input format. Defaults to auto detection. |