Class KemReceiver

java.lang.Object
net.jrodolfo.java_evolution.java21.key_encapsulation.KemReceiver

public class KemReceiver extends Object
Represents the receiver side of a Java 21 KEM exchange.

The receiver owns the asymmetric key pair. It shares the public key with the sender and keeps the private key secret. The private key is later used to decapsulate the sender's encapsulation message.

  • Field Details

    • KEY_PAIR_ALGORITHM

      public static final String KEY_PAIR_ALGORITHM
      The key agreement key type used by this compact example.
      See Also:
    • KEM_ALGORITHM

      public static final String KEM_ALGORITHM
      The Java 21 KEM algorithm name used by the standard API.
      See Also:
  • Method Details