Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.pqc.crypto
Interface ExchangePairGenerator

All Known Implementing Classes:
  NHExchangePairGenerator

public interface ExchangePairGenerator

Interface for NewHope style key material exchange generators.

Method Summary
`ExchangePair` | `generateExchange(AsymmetricKeyParameter senderPublicKey)` Generate an exchange pair based on the sender public key.

Method Detail

### generateExchange

    public 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD