Class FalconKeyPairGeneratorSpi
- java.lang.Object
-
- java.security.KeyPairGeneratorSpi
-
- java.security.KeyPairGenerator
-
- org.bouncycastle.pqc.jcajce.provider.falcon.FalconKeyPairGeneratorSpi
-
- Direct Known Subclasses:
FalconKeyPairGeneratorSpi.Falcon1024
,FalconKeyPairGeneratorSpi.Falcon512
public class FalconKeyPairGeneratorSpi extends java.security.KeyPairGenerator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FalconKeyPairGeneratorSpi.Falcon1024
static class
FalconKeyPairGeneratorSpi.Falcon512
-
Constructor Summary
Constructors Modifier Constructor Description FalconKeyPairGeneratorSpi()
protected
FalconKeyPairGeneratorSpi(FalconParameters falconParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.KeyPair
generateKeyPair()
void
initialize(int strength, java.security.SecureRandom random)
void
initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random)
-
-
-
Constructor Detail
-
FalconKeyPairGeneratorSpi
public FalconKeyPairGeneratorSpi()
-
FalconKeyPairGeneratorSpi
protected FalconKeyPairGeneratorSpi(FalconParameters falconParameters)
-
-
Method Detail
-
initialize
public void initialize(int strength, java.security.SecureRandom random)
- Overrides:
initialize
in classjava.security.KeyPairGenerator
-
initialize
public void initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException
- Overrides:
initialize
in classjava.security.KeyPairGenerator
- Throws:
java.security.InvalidAlgorithmParameterException
-
generateKeyPair
public java.security.KeyPair generateKeyPair()
- Overrides:
generateKeyPair
in classjava.security.KeyPairGenerator
-
-