Interface EncapsulatedSecretExtractor
- All Known Implementing Classes:
BIKEKEMExtractor, CMCEKEMExtractor, ECIESKEMExtractor, FrodoKEMExtractor, HQCKEMExtractor, MLKEMExtractor, NTRUKEMExtractor, NTRULPRimeKEMExtractor, RSAKEMExtractor, SABERKEMExtractor, SAKKEKEMExtractor, SNTRUPrimeKEMExtractor, XWingKEMExtractor
public interface EncapsulatedSecretExtractor
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]extractSecret(byte[] encapsulation) Extract the secret based on the recipient private key.intReturn 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.
-