org.bouncycastle.crypto.hpke

## Class HPKEContextWithEncapsulation

- java.lang.Object
- - org.bouncycastle.crypto.hpke.HPKEContext
  - - org.bouncycastle.crypto.hpke.HPKEContextWithEncapsulation

-     public class HPKEContextWithEncapsulation
      extends HPKEContext

- - ### Field Summary

    - ### Fields inherited from class org.bouncycastle.crypto.hpke.HPKEContext

      `aead, exporterSecret, hkdf, suiteId`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HPKEContextWithEncapsulation(HPKEContext context, byte[] encapsulation)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getEncapsulation()`

    - ### Methods inherited from class org.bouncycastle.crypto.hpke.HPKEContext

      `expand, export, extract, open, open, seal, seal`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HPKEContextWithEncapsulation

          public HPKEContextWithEncapsulation(HPKEContext context,
                                              byte[] encapsulation)

  - ### Method Detail

    - #### getEncapsulation

          public byte[] getEncapsulation()