Class ExampleScenario14

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

public final class ExampleScenario14 extends Object

Scenario 14 – Key Revocation Validation (ML-KEM-768)

This scenario validates that a revoked key becomes immediately unusable for cryptographic operations on ANKASecure:

  1. List the tenant’s initial inventory of keys.
  2. Generate an ML-KEM-768 key.
  3. Export its public-only metadata to JSON (illustrative).
  4. Revoke (delete) the key.
  5. Attempt an encrypt operation with the revoked key — expect a failure and capture the error as proof of revocation.

All artefacts are written under temp_files/.

Since:
2.1.0
Author:
ANKATech – Security Engineering
  • Method Details

    • main

      public static void main(String[] args)
      Entry-point.