Class ExampleScenario11
java.lang.Object
co.ankatech.ankasecure.sdk.examples.ExampleScenario11
Scenario 11 – ML-DSA-87 Bulk Helpers (Compact JWS)
This scenario shows the non-streaming helper methods for RFC 7515 Compact JWS using an ML-DSA-87 key:
- Generate an
ML-DSA-87
key. - Sign a plaintext document.
- Export the key’s public metadata.
- Verify the resulting JWS.
Implementation notes (Java 21+):
- Filesystem operations use
Path
. - UTF-8 encoding is enforced for deterministic behaviour.
- Temporary artefacts reside under temp_files/.
Thread-safety: this class is stateless and immutable.
- Since:
- 2.1.0
- Author:
- ANKATech – Security Engineering
-
Method Summary
-
Method Details
-
main
Entry-point.
-