Class MLDSAKeyPairGeneratorSpi
- java.lang.Object
-
- java.security.KeyPairGeneratorSpi
-
- java.security.KeyPairGenerator
-
- org.bouncycastle.jcajce.provider.asymmetric.mldsa.MLDSAKeyPairGeneratorSpi
-
- Direct Known Subclasses:
MLDSAKeyPairGeneratorSpi.Hash
,MLDSAKeyPairGeneratorSpi.MLDSA44
,MLDSAKeyPairGeneratorSpi.MLDSA44withSHA512
,MLDSAKeyPairGeneratorSpi.MLDSA65
,MLDSAKeyPairGeneratorSpi.MLDSA65withSHA512
,MLDSAKeyPairGeneratorSpi.MLDSA87
,MLDSAKeyPairGeneratorSpi.MLDSA87withSHA512
,MLDSAKeyPairGeneratorSpi.Pure
public class MLDSAKeyPairGeneratorSpi extends java.security.KeyPairGenerator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MLDSAKeyPairGeneratorSpi.Hash
static class
MLDSAKeyPairGeneratorSpi.MLDSA44
static class
MLDSAKeyPairGeneratorSpi.MLDSA44withSHA512
static class
MLDSAKeyPairGeneratorSpi.MLDSA65
static class
MLDSAKeyPairGeneratorSpi.MLDSA65withSHA512
static class
MLDSAKeyPairGeneratorSpi.MLDSA87
static class
MLDSAKeyPairGeneratorSpi.MLDSA87withSHA512
static class
MLDSAKeyPairGeneratorSpi.Pure
-
Constructor Summary
Constructors Modifier Constructor Description MLDSAKeyPairGeneratorSpi(java.lang.String name)
protected
MLDSAKeyPairGeneratorSpi(MLDSAParameterSpec 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
-
MLDSAKeyPairGeneratorSpi
public MLDSAKeyPairGeneratorSpi(java.lang.String name)
-
MLDSAKeyPairGeneratorSpi
protected MLDSAKeyPairGeneratorSpi(MLDSAParameterSpec 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
-
-