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:
- Resolve a pre-provisioned
ML-DSA-87key from the demo-cli playground (the SDK is data-plane-only — it does not create keys). - Sign a plaintext document.
- 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:
- 3.0.0
- Author:
- ANKATech Solutions Inc.
- See Also:
-
Method Summary
-
Method Details
-
main
Runs the ML-DSA-87 compact JWS sign/verify scenario.Loads CLI properties, authenticates against ANKASecure©, and delegates to the scenario logic. On any unrecoverable error the JVM terminates via
ExampleUtil.fatal(String, Throwable).- Parameters:
args- command-line arguments (ignored)
-