Class ExampleScenario15
java.lang.Object
co.ankatech.ankasecure.sdk.examples.ExampleScenario15
Scenario 15 – Streamed Sign / Verify (ML-DSA-87)
This scenario demonstrates streaming signing and verification with an ML-DSA-87 key, including out-of-band verification using only the exported public key:
- Generate an ML-DSA-87 key.
- Export its public metadata.
- Stream-sign a payload (detached JWS).
- Verify the signature with
verifySignatureUtilityStream
using only the exported key.
Implementation notes (Java 21+):
- All filesystem access uses the
Path
API. - UTF-8 encoding is specified explicitly.
- JSON parsing relies on Gson
with a custom adapter for
ZonedDateTime
.
- Since:
- 2.1.0
- Author:
- ANKATech – Security Engineering
-
Method Summary
-
Method Details
-
main
Entry-point.
-