Verify a payout certificate
verify_certificateRetrieve a BugSecure payout certificate by its public verification token, returning the document, signed bytes, detached JWS signature, and public key needed to verify authenticity.
Instructions
Look up a BugSecure payout certificate by the public token from its verification link. Returns the document for reading, plus the signed bytes (base64url), the detached JWS signature and BugSecure’s published public key that signed it, so its authenticity can be checked with a JWS library. This tool does NOT verify the signature itself: never describe a certificate as authenticated unless the signature was verified, and never describe an unsigned certificate (isSigned: false) as authenticated.
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": {
"publicToken": "<publicToken>"
},
"name": "verify_certificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicToken | Yes | The opaque token at the end of the certificate’s verification link (not the printed BSC-… reference). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signingKey | No | The published RSA public key (JWK) matching keyId; null when none matches. | |
| certificate | No |