Class ExampleScenario16
End-to-end, file-oriented demonstration of streaming detached JWS verification with a pre-provisioned XMSS key (the SDK is data-plane-only — it does not create keys).
Every run spends one signature of a finite key. XMSS is a stateful
hash-based scheme: XMSS-SHA2_10_256 holds 210 = 1024 one-time
signatures and the playground key is shared by everyone running the examples. When they are all
used, the sign step is refused with
SdkErrorCode.STATEFUL_KEY_EXHAUSTED; the scenario then names the key and stops, because
the only remedy is rotating it, which is a control-plane operation this data-plane SDK does not
offer. A SdkErrorCode.STATEFUL_KEY_BUSY refusal (another run is reserving the key's next
signature at the same moment) is retried once after the server's Retry-After.
- See Also:
-
Method Summary
-
Method Details
-
main
Runs the XMSS streaming detached JWS verification 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)
-