verify_spki_key_and_csr_match
Verifies that a certificate, PKCS#10 CSR, and private key share the same SubjectPublicKeyInfo (SPKI) locally without exposing private key material.
Instructions
Verifies mathematical SubjectPublicKeyInfo (SPKI) match across Certificate, PKCS#10 CSR, and PKCS#8/PKCS#1/SEC1 Private Key locally without exposing private key scalars.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "verify_spki_key_and_csr_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csrPem | No | Optional PKCS#10 Certificate Signing Request (.csr) PEM text. | |
| keyPem | No | Optional PKCS#8, PKCS#1 RSA, SEC1 EC, or SPKI PEM key text evaluated strictly in local memory. | |
| certPem | No | Optional X.509 PEM certificate text to verify against the private key and/or CSR. | |
| csrPath | No | Optional local file path to the PKCS#10 .csr file when csrPem is omitted. | |
| keyPath | No | Optional local file path to the private key file when keyPem is omitted. | |
| certPath | No | Optional local file path to the X.509 certificate file when certPem is omitted. |