Class ExampleScenario10

Object
ExampleScenario10

public final class ExampleScenario10 extends Object

Scenario 10 – Bulk Encrypt/Decrypt with an ML-KEM-1024 key

  1. Create an ML-KEM-1024 key on the platform.
  2. Export the key’s public metadata to JSON.
  3. Encrypt a local file → Compact JWE is written on disk.
  4. Decrypt the Compact JWE back to plaintext.
  5. Verify that the round-trip preserved the data and print all server metadata.

The CLI must be initialised; otherwise this scenario aborts.

  • Constructor Details

    • ExampleScenario10

      public ExampleScenario10()
  • Method Details

    • main

      public static void main(String[] args)