Class ExampleScenario9
Object
ExampleScenario9
Scenario 9 Example (non-streaming):
- Generates an RSA-2048 key (oldKid)
- Signs a file (non-streaming) with RSA-2048
- Generates a Dilithium3 key (newKid)
- Re-signs the data from RSA to Dilithium3 (non-streaming)
- Verifies the newly created signature using Dilithium3
This demonstrates how to switch signatures from a classical RSA scheme (RSA-2048) to a post-quantum signature scheme (Dilithium3) in a non-streaming context. The re-signed data is then verified against the new Dilithium3 key.