Read PKCS#12
read_pkcs12Extract private keys, public keys, and certificates from PKCS#12/PFX files with password authentication. Supports DER, HEX, PEM, and base64 input formats.
Instructions
Read PKCS#12/PFX data and return contained private keys, public keys, and certificates.
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>",
"password": "<password>"
},
"name": "read_pkcs12"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | PKCS#12/PFX bytes as DER, HEX, or base64 text. | |
| password | Yes | PKCS#12 password. | |
| format | No | Input format. Use auto to detect PEM, HEX, base64, DER, or BER. | auto |
| sourceName | No | Optional source filename to include in output metadata. | |
| encoding | No | Output encoding for DER or value bytes. | hex |