Top Methods
org.bouncycastle.crypto

public Interface EncapsulatedSecretExtractor

Known Direct Implementers
org.bouncycastle.crypto.kems.ECIESKEMExtractor, org.bouncycastle.crypto.kems.RSAKEMExtractor, org.bouncycastle.pqc.crypto.bike.BIKEKEMExtractor, org.bouncycastle.pqc.crypto.cmce.CMCEKEMExtractor, org.bouncycastle.pqc.crypto.frodo.FrodoKEMExtractor, org.bouncycastle.pqc.crypto.hqc.HQCKEMExtractor, org.bouncycastle.pqc.crypto.mlkem.MLKEMExtractor, org.bouncycastle.pqc.crypto.ntru.NTRUKEMExtractor, org.bouncycastle.pqc.crypto.ntruprime.NTRULPRimeKEMExtractor, org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKEMExtractor, org.bouncycastle.pqc.crypto.saber.SABERKEMExtractor, org.bouncycastle.pqc.crypto.xwing.XWingKEMExtractor

Method Summary

Modifier and TypeMethod and Description
public byte[]
extractSecret(byte[]
the encapsulated secret.
encapsulation
)

Extract the secret based on the recipient private key.

public int

Returns:

length in bytes of an encapsulation for this parameter set.
getEncapsulationLength
()

Return the length in bytes of the encapsulation.

Method Detail

extractSecretback to summary
public byte[] extractSecret(byte[] encapsulation)

Extract the secret based on the recipient private key.

Parameters
encapsulation:byte[]

the encapsulated secret.

getEncapsulationLengthback to summary
public int getEncapsulationLength()

Return the length in bytes of the encapsulation.

Returns:int

length in bytes of an encapsulation for this parameter set.