Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.crypto
Interface EncapsulatedSecretExtractor

All Known Implementing Classes:
  CMCEKEMExtractor, ECIESKEMExtractor, FrodoKEMExtractor, HQCKEMExtractor, MLKEMExtractor, MLKEMExtractor, NTRUKEMExtractor, NTRULPRimeKEMExtractor, NTRUPlusKEMExtractor, RSAKEMExtractor, SABERKEMExtractor, SAKKEKEMExtractor, SNTRUPrimeKEMExtractor, XWingKEMExtractor

public interface EncapsulatedSecretExtractor

Method Summary
`byte[]` | `extractSecret(byte[] encapsulation)` Extract the secret based on the recipient private key.
`int` | `getEncapsulationLength()` Return the length in bytes of the encapsulation.

Method Detail

### extractSecret

    public byte[] extractSecret(byte[] encapsulation)

  Extract the secret based on the recipient private key.

  Parameters:
    `encapsulation` - the encapsulated secret.

### getEncapsulationLength

    public int getEncapsulationLength()

  Return the length in bytes of the encapsulation.

  Returns:
    length in bytes of an encapsulation for this parameter set.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD