Package org.bouncycastle.crypto
Interface EncapsulatedSecretExtractor
-
- All Known Implementing Classes:
BIKEKEMExtractor,CMCEKEMExtractor,ECIESKEMExtractor,FrodoKEMExtractor,HQCKEMExtractor,KyberKEMExtractor,NTRUKEMExtractor,NTRULPRimeKEMExtractor,RSAKEMExtractor,SABERKEMExtractor,SNTRUPrimeKEMExtractor
public interface EncapsulatedSecretExtractor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]extractSecret(byte[] encapsulation)Extract the secret based on the recipient private key.intgetEncapsulationLength()Return the length in bytes of the encapsulation.
-
-
-
Method Detail
-
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.
-
-