cert.decode
解析证书(PEM / base64-DER / 裸 DER):全字段展开 + 整链吊销检查(OCSP / CRL,含交叉证书)+ 上传链时验证匹配关系并识别根证书。
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": {
"cert": "<cert>"
},
"name": "cert.decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cert | Yes | 证书内容:PEM(可为多证书 bundle)/ base64-DER / 裸 DER | |
| chain | No | 可选;补充证书链(leaf 与链分文件时)。PEM / base64-DER / 裸 DER | |
| check_revocation | No | 是否执行整链吊销检查(OCSP / CRL,含交叉证书),默认 true |