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 Deprecated Methods Modifier and Type Method Description ExchangePair
generateExchange(AsymmetricKeyParameter senderPublicKey)
Generate an exchange pair based on the sender public key.ExchangePair
GenerateExchange(AsymmetricKeyParameter senderPublicKey)
Deprecated.use generateExchange
-
-
-
Method Detail
-
GenerateExchange
ExchangePair GenerateExchange(AsymmetricKeyParameter senderPublicKey)
Deprecated.use generateExchangeGenerate 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.
-
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.
-
-