Module java.base
Package javax.crypto

Class KEM.Encapsulator

java.lang.Object
javax.crypto.KEM.Encapsulator
Enclosing class:
KEM

public static final class KEM.Encapsulator extends Object
An encapsulator, generated by KEM.newEncapsulator(java.security.PublicKey) on the KEM sender side.

This class represents the key encapsulation function of a KEM. Each invocation of the encapsulate method generates a new secret key and key encapsulation message that is returned in an KEM.Encapsulated object.

Since:
21