Class ExampleScenario9

Object
ExampleScenario9

public class ExampleScenario9 extends Object
Scenario 9 Example (non-streaming):
  • Generates an RSA-2048 key (oldKid)
  • Signs a file (non-streaming) with RSA-2048
  • Generates a Dilithium3 key (newKid)
  • Re-signs the data from RSA to Dilithium3 (non-streaming)
  • Verifies the newly created signature using Dilithium3

This demonstrates how to switch signatures from a classical RSA scheme (RSA-2048) to a post-quantum signature scheme (Dilithium3) in a non-streaming context. The re-signed data is then verified against the new Dilithium3 key.

  • Constructor Details Link icon

    • ExampleScenario9 Link icon

      public ExampleScenario9()
  • Method Details Link icon

    • main Link icon

      public static void main(String[] args)
      Entry point for executing Scenario 9.
      Parameters:
      args - Not used.