Interface EncapsulatedSecretExtractor

All Known Implementing Classes:
BIKEKEMExtractor, CMCEKEMExtractor, ECIESKEMExtractor, FrodoKEMExtractor, HQCKEMExtractor, KyberKEMExtractor, NTRUKEMExtractor, NTRULPRimeKEMExtractor, RSAKEMExtractor, SABERKEMExtractor, SNTRUPrimeKEMExtractor, XWingKEMExtractor

public interface EncapsulatedSecretExtractor
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    extractSecret(byte[] encapsulation)
    Extract the secret based on the recipient private key.
    int
    Return the length in bytes of the encapsulation.
  • Method Details

    • extractSecret

      byte[] extractSecret(byte[] encapsulation)
      Extract the secret based on the recipient private key.
      Parameters:
      encapsulation - the encapsulated secret.
    • getEncapsulationLength

      int getEncapsulationLength()
      Return the length in bytes of the encapsulation.
      Returns:
      length in bytes of an encapsulation for this parameter set.