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

## org.bouncycastle.pqc.crypto.newhope
Class NHExchangePairGenerator

    java.lang.Object
      org.bouncycastle.pqc.crypto.newhope.NHExchangePairGenerator

All Implemented Interfaces:
  ExchangePairGenerator

public class NHExchangePairGenerator
extends java.lang.Object
implements ExchangePairGenerator

Constructor Summary
`NHExchangePairGenerator(java.security.SecureRandom random)`

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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NHExchangePairGenerator

    public NHExchangePairGenerator(java.security.SecureRandom random)

Method Detail

### GenerateExchange

    public ExchangePair GenerateExchange(AsymmetricKeyParameter senderPublicKey)

### generateExchange

    public ExchangePair generateExchange(AsymmetricKeyParameter senderPublicKey)

  Description copied from interface: `ExchangePairGenerator`
  Generate an exchange pair based on the sender public key.

  Specified by:
    `generateExchange` in interface `ExchangePairGenerator`
  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.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD