post
https://{host}:{port}/api/v3/migration/convert-pkcs7-to-jose
Converts legacy PKCS#7/CMS files to modern JOSE (JWE/JWS) format.
This is a format conversion (PKCS#7 container → JOSE container), not an algorithm conversion.
Classical algorithms (RSA, ECDSA, AES) are preserved or upgraded (CBC→GCM).
Supported conversions:
- SignedData (1 signer) → JWS Compact
- EnvelopedData (1 recipient) → JWE Compact
- SignedAndEnvelopedData (1 signer + 1 recipient) → JWE(JWS) Compact
Future enhancement: Multi-signer/multi-recipient support with JSON serialization
Process:
- Parse PKCS#7 structure
- Verify signatures (optional)
- Decrypt if encrypted (using imported key)
- Match signers/recipients with imported keys
- Re-sign/re-encrypt with JOSE format
Prerequisites: Import private keys via POST /api/migration/pkcs12
Next steps: For PQC algorithms, use POST /api/crypto/reencrypt or POST /api/crypto/resign
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…