Class ExampleScenario11

Object
ExampleScenario11

public class ExampleScenario11 extends Object
Scenario 11 Example (non-streaming signatures):
  • Generates a Dilithium5 key (post-quantum signature algorithm) via generateKey(GenerateKeySpec)
  • Signs a file in non-streaming mode
  • Exports the public key portion (as part of the entire key data)
  • Verifies the signature in non-streaming mode

This scenario demonstrates a utilitarian approach to post-quantum signatures using Dilithium5. It shows how to:

  1. Generate the key
  2. Sign a document
  3. Export the public portion
  4. Verify the signature

All operations here are non-streaming (file-based). Authentication details are loaded from cli.properties.

  • Constructor Details Link icon

    • ExampleScenario11 Link icon

      public ExampleScenario11()
  • Method Details Link icon

    • main Link icon

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