Package org.bouncycastle.pqc.crypto
Interface ExchangePairGenerator
-
- All Known Implementing Classes:
NHExchangePairGenerator
public interface ExchangePairGenerator
Interface for NewHope style key material exchange generators.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExchangePair
generateExchange(AsymmetricKeyParameter senderPublicKey)
Generate an exchange pair based on the sender public key.
-
-
-
Method Detail
-
generateExchange
ExchangePair generateExchange(AsymmetricKeyParameter senderPublicKey)
Generate an exchange pair based on the sender public key.- Parameters:
senderPublicKey
- the public key of the exchange initiator.- Returns:
- An ExchangePair derived from the sender public key.
-
-