Top Description Methods
org.bouncycastle.pqc.crypto

public Interface ExchangePairGenerator

Known Direct Implementers
org.bouncycastle.pqc.crypto.newhope.NHExchangePairGenerator
Imports
org.bouncycastle.crypto.params.AsymmetricKeyParameter

Interface for NewHope style key material exchange generators.

Method Summary

Modifier and TypeMethod and Description
public ExchangePair

Returns:

An ExchangePair derived from the sender public key.
generateExchange
(AsymmetricKeyParameter
the public key of the exchange initiator.
senderPublicKey
)

Generate an exchange pair based on the sender public key.

Method Detail

generateExchangeback to summary
public ExchangePair generateExchange(AsymmetricKeyParameter senderPublicKey)

Generate an exchange pair based on the sender public key.

Parameters
senderPublicKey:AsymmetricKeyParameter

the public key of the exchange initiator.

Returns:ExchangePair

An ExchangePair derived from the sender public key.