Write PKCS#12
write_pkcs12Combines private keys with optional X.509 certificates into a password-protected PKCS#12/PFX archive for secure storage or distribution.
Instructions
Create PKCS#12/PFX data from one or more private keys and optional X.509 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": {
"keys": "<keys>",
"password": "<password>"
},
"name": "write_pkcs12"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| password | Yes | Password to protect the PKCS#12 output. | |
| encoding | No | Output encoding for DER or value bytes. | hex |