Class HpkeContext

java.lang.Object
org.conscrypt.HpkeContext
Direct Known Subclasses:
HpkeContextRecipient, HpkeContextSender

public abstract class HpkeContext extends Object
Hybrid Public Key Encryption (HPKE) sender APIs.

Base class for HPKE sender and recipient contexts.

This is the client API for HPKE usage, all operations are delegated to an implementation class implementing HpkeSpi which is located using the JCA Provider mechanism.

The implementation maintains the context for an HPKE exchange, including the key schedule to use for seal and open operations. Secret key material based on the context may also be generated and exported as per RFC 9180.

See Also: