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