Class ExampleScenario11
Object
ExampleScenario11
Scenario 11 Example (non-streaming signatures):
- Generates a Dilithium5 key (post-quantum signature algorithm) via
generateKey(GenerateKeySpec)
- Signs a file in non-streaming mode
- Exports the public key portion (as part of the entire key data)
- Verifies the signature in non-streaming mode
This scenario demonstrates a utilitarian approach to post-quantum signatures using Dilithium5. It shows how to:
- Generate the key
- Sign a document
- Export the public portion
- Verify the signature
All operations here are non-streaming (file-based). Authentication details
are loaded from cli.properties
.