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.
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 |