public byte[] getEncapsulated() {
        return spi.getEncapsulated();
    }
Returns the encapsulated key created for this HpkeContextSender.

@return the encapsulated key
@throws IllegalStateException if this HpkeContextSender has not been initialised.
common/src/main/java/org/conscrypt/HpkeContextSender.java