Class SNTRUPrimeKeyPairGenerator
java.lang.Object
org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKeyPairGenerator
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturn an AsymmetricCipherKeyPair containing the generated keys.voidinit(KeyGenerationParameters param) Initialize the Key Pair Generator.
-
Constructor Details
-
SNTRUPrimeKeyPairGenerator
public SNTRUPrimeKeyPairGenerator()
-
-
Method Details
-
getParams
-
init
Initialize the Key Pair Generator.- Specified by:
initin interfaceAsymmetricCipherKeyPairGenerator- Parameters:
param- the parameters the key pair is to be initialised with.
-
generateKeyPair
return an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-