Class SPHINCSPlusKeyPairGeneratorSpi
- java.lang.Object
-
- java.security.KeyPairGeneratorSpi
-
- java.security.KeyPairGenerator
-
- org.bouncycastle.pqc.jcajce.provider.sphincsplus.SPHINCSPlusKeyPairGeneratorSpi
-
- Direct Known Subclasses:
SPHINCSPlusKeyPairGeneratorSpi.Sha2_128f
,SPHINCSPlusKeyPairGeneratorSpi.Sha2_128s
,SPHINCSPlusKeyPairGeneratorSpi.Sha2_192f
,SPHINCSPlusKeyPairGeneratorSpi.Sha2_192s
,SPHINCSPlusKeyPairGeneratorSpi.Sha2_256f
,SPHINCSPlusKeyPairGeneratorSpi.Sha2_256s
,SPHINCSPlusKeyPairGeneratorSpi.Shake_128f
,SPHINCSPlusKeyPairGeneratorSpi.Shake_128s
,SPHINCSPlusKeyPairGeneratorSpi.Shake_192f
,SPHINCSPlusKeyPairGeneratorSpi.Shake_192s
,SPHINCSPlusKeyPairGeneratorSpi.Shake_256f
,SPHINCSPlusKeyPairGeneratorSpi.Shake_256s
public class SPHINCSPlusKeyPairGeneratorSpi extends java.security.KeyPairGenerator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SPHINCSPlusKeyPairGeneratorSpi.Sha2_128f
static class
SPHINCSPlusKeyPairGeneratorSpi.Sha2_128s
static class
SPHINCSPlusKeyPairGeneratorSpi.Sha2_192f
static class
SPHINCSPlusKeyPairGeneratorSpi.Sha2_192s
static class
SPHINCSPlusKeyPairGeneratorSpi.Sha2_256f
static class
SPHINCSPlusKeyPairGeneratorSpi.Sha2_256s
static class
SPHINCSPlusKeyPairGeneratorSpi.Shake_128f
static class
SPHINCSPlusKeyPairGeneratorSpi.Shake_128s
static class
SPHINCSPlusKeyPairGeneratorSpi.Shake_192f
static class
SPHINCSPlusKeyPairGeneratorSpi.Shake_192s
static class
SPHINCSPlusKeyPairGeneratorSpi.Shake_256f
static class
SPHINCSPlusKeyPairGeneratorSpi.Shake_256s
-
Constructor Summary
Constructors Modifier Constructor Description SPHINCSPlusKeyPairGeneratorSpi()
protected
SPHINCSPlusKeyPairGeneratorSpi(SPHINCSPlusParameterSpec paramSpec)
-
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
-
SPHINCSPlusKeyPairGeneratorSpi
public SPHINCSPlusKeyPairGeneratorSpi()
-
SPHINCSPlusKeyPairGeneratorSpi
protected SPHINCSPlusKeyPairGeneratorSpi(SPHINCSPlusParameterSpec paramSpec)
-
-
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
-
-