Class SNTRUPrimeKeyGeneratorSpi
- java.lang.Object
-
- javax.crypto.KeyGeneratorSpi
-
- org.bouncycastle.pqc.jcajce.provider.ntruprime.SNTRUPrimeKeyGeneratorSpi
-
public class SNTRUPrimeKeyGeneratorSpi extends javax.crypto.KeyGeneratorSpi
-
-
Constructor Summary
Constructors Constructor Description SNTRUPrimeKeyGeneratorSpi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.crypto.SecretKey
engineGenerateKey()
protected void
engineInit(int i, java.security.SecureRandom secureRandom)
protected void
engineInit(java.security.SecureRandom secureRandom)
protected void
engineInit(java.security.spec.AlgorithmParameterSpec algorithmParameterSpec, java.security.SecureRandom secureRandom)
-
-
-
Method Detail
-
engineInit
protected void engineInit(java.security.SecureRandom secureRandom)
- Specified by:
engineInit
in classjavax.crypto.KeyGeneratorSpi
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec algorithmParameterSpec, java.security.SecureRandom secureRandom) throws java.security.InvalidAlgorithmParameterException
- Specified by:
engineInit
in classjavax.crypto.KeyGeneratorSpi
- Throws:
java.security.InvalidAlgorithmParameterException
-
engineInit
protected void engineInit(int i, java.security.SecureRandom secureRandom)
- Specified by:
engineInit
in classjavax.crypto.KeyGeneratorSpi
-
engineGenerateKey
protected javax.crypto.SecretKey engineGenerateKey()
- Specified by:
engineGenerateKey
in classjavax.crypto.KeyGeneratorSpi
-
-