Class ExampleMenu
Object
ExampleMenu
ExampleMenu is the CLI entry point that provides an interactive menu of example scenarios.
This menu enables clients to easily select and run one of the available example scenarios, demonstrating the capabilities of the AnkaTech Secure API SDK. Each scenario is executed by invoking its corresponding main method.
Available examples:
- 1: ExampleScenario1 - Asymmetric Encrypt/Decrypt (Streaming)
- 2: ExampleScenario2 - Sign/Verify (Streaming)
- 3: ExampleScenario3 - Symmetric Encrypt/Decrypt (Streaming)
- 4: ExampleScenario4 - Asymmetric Re-encrypt (Streaming)
- 5: ExampleScenario5 - ML-KEM-512 Encrypt/Decrypt (Non-Streaming)
- 6: ExampleScenario6 - ML-DSA-87 Sign/Verify (Non-Streaming)
- 7: ExampleScenario7 - AES-256 Encrypt/Decrypt (Non-Streaming)
- 8: ExampleScenario8 - EC-521 to ML-KEM-768 Re-encrypt (Non-Streaming)
- 9: ExampleScenario9 - RSA-2048 to ML-DSA-65 Re-sign (Non-Streaming)
- 10: ExampleScenario10 - Asymmetric Public Key Utility
- 11: ExampleScenario11 - Sign ML-DSA-87 and Verify (Public Key Utility)
- 12: ExampleScenario12 - Re-sign Streaming (RSA-2048 to FALCON-1024)
- 13: ExampleScenario13 - Import PKCS#12 and Perform Sign/Encrypt
- 14: ExampleScenario14 - Key Management & License Checks (ML-KEM-768)
- 15: ExampleScenario15 - ML-DSA-87 Sign/Verify (Streaming)
- 16: ExampleScenario16 - ML-KEM-1024 Encrypt/Decrypt (Streaming)
- Version:
- 1.0
- Author:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExampleMenu
public ExampleMenu()
-
-
Method Details
-
main
The main method that launches the interactive menu.- Parameters:
args
- Command line arguments (not used).
-