Module java.base
Package javax.crypto

Class KEM.Encapsulated

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

public static final class KEM.Encapsulated extends Object
This class specifies the return value of the encapsulate method of a Key Encapsulation Mechanism (KEM), which includes the shared secret (as a SecretKey), the key encapsulation message, and optional parameters.

Note: the key encapsulation message can be also referred to as ciphertext.

Since:
21
See Also: