Class ExampleScenario13
Object
ExampleScenario13
Scenario 13 – Legacy RSA → PQC ML-KEM Migration
Friction-free migration of legacy RSA-2048 ciphertext to post-quantum protection (ML-KEM-768), without exposing plaintext outside the HSM:
- Generate a local PKCS#12 with RSA-2048 (Bouncy Castle).
- Import the PKCS#12 into Anka Secure (decrypt-only).
- Export the public key and encrypt a file client-side via encryptFileUtilityStream.
- Generate an ML-KEM-768 key on the platform.
- Server-side re-encryption: RSA-2048 → ML-KEM-768.
- Stream-decrypt ML-KEM ciphertext with new key.
- Validate that decrypted data matches original.
Requires CLI initialisation and Bouncy Castle on the classpath.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExampleScenario13
public ExampleScenario13()
-
-
Method Details
-
main
-