PEM ↔ DER (Base64) ↔ PKCS#12 (.p12/.pfx). Keys and passwords are processed in memory only.
Fill fields as required for the operation. PKCS#12 password: for unpack use the import password; for create use the export password (empty = unencrypted .p12).