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.ntruprime
Class SNTRUPrimeKEMGenerator

    java.lang.Object
      org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKEMGenerator

All Implemented Interfaces:
  EncapsulatedSecretGenerator

public class SNTRUPrimeKEMGenerator
extends java.lang.Object
implements EncapsulatedSecretGenerator

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

Method Summary
`SecretWithEncapsulation` | `generateEncapsulated(AsymmetricKeyParameter recipientKey)` Generate secret/encapsulation based on the recipient public key.

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

Constructor Detail

### SNTRUPrimeKEMGenerator

    public SNTRUPrimeKEMGenerator(java.security.SecureRandom random)

Method Detail

### generateEncapsulated

    public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)

  Description copied from interface: `EncapsulatedSecretGenerator`
  Generate secret/encapsulation based on the recipient public key.

  Specified by:
    `generateEncapsulated` in interface `EncapsulatedSecretGenerator`
  Returns:
    An SecretWithEncapsulation derived from the recipient 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