Class ExampleScenario21

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

public final class ExampleScenario21 extends Object

Scenario 21 – Compact-Token Rotation (RSA-2048 ➜ ML-KEM-1024)

This example migrates a Compact JWE from a classical RSA-2048 key to a post-quantum ML-KEM-1024 key entirely in memory. The original plaintext is never exposed to the client.

Prerequisites

  • A valid encrypted CLI initialisation file (credentials).
  • An access-token with the scopes: key_management.generateKey, secure.encrypt, secure.reencrypt.
Since:
2.1.0
Author:
ANKATech – Security Engineering
  • Method Details

    • main

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