util_asn1_decode
ASN.1 DER decoder — Offline ASN.1 DER decoder (X.690). data= DER bytes as hex, base64/base64url or a PEM block (certificate, CSR, public key, PKCS#7, etc). Returns the full element tree (type, offset, length, INTEGERs as numbers or hex+decimal, OIDs with names for ~90 common algorithms/attributes/extensions, strings, UTC/Generalized times as ISO-8601, BIT/OCTET STRINGs with encapsulated DER parsed), a detected structure (X.509 certificate, PKCS#10 CSR, SubjectPublicKeyInfo, PKCS#8/PKCS#1/SEC1 private key, ContentInfo...) and the list of OIDs found. Private-key bytes are redacted with a warning. Invalid or truncated DER returns 422 with the byte offset. Price: $0.002 USDC (Base, via x402).
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>"
},
"name": "util_asn1_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | 3059301306072a8648ce3d020106082a8648ce3d0301070342000483b38d917215174778735b521b8135b1957f14fc427582c1f14e1c02938662c1822cd3c7b0cb2d7a559afcd1f8d55023e693068b4ac671da2b1c2db84c27b8d7 |