Class ExampleMenu

java.lang.Object
co.ankatech.ankasecure.sdk.examples.ExampleMenu

public final class ExampleMenu extends Object

Console entry-point that lets you run any of the sample scenarios packaged with the AnkaSecure SDK.

How it works

  1. The menu prints a numbered list of scenarios.
  2. The user types a number  ->  the program invokes the corresponding main method.
  3. Press Enter to return to the menu or enter 0 to exit.

Available scenarios

  1  Asymmetric Encrypt/Decrypt (Streaming)
  …
 20  In-memory JWE/JWS Quick-start
 21  Compact-token Rotation (Re-encrypt)
 22  Detached-JWS Sign and Stream-Verify
 23  RSA-2048 -> ML-KEM-768 Immediate Rotation
 
  • Method Details

    • main

      public static void main(String[] args)