Class MLDSAKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.mldsa.MLDSAKeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
MLDSAKeyFactorySpi.Hash,MLDSAKeyFactorySpi.HashMLDSA44,MLDSAKeyFactorySpi.HashMLDSA65,MLDSAKeyFactorySpi.HashMLDSA87,MLDSAKeyFactorySpi.MLDSA44,MLDSAKeyFactorySpi.MLDSA65,MLDSAKeyFactorySpi.MLDSA87,MLDSAKeyFactorySpi.Pure
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionMLDSAKeyFactorySpi(Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> keyOids) MLDSAKeyFactorySpi(org.bouncycastle.asn1.ASN1ObjectIdentifier keyOid) -
Method Summary
Modifier and TypeMethodDescriptionengineGeneratePrivate(KeySpec keySpec) engineGeneratePublic(KeySpec keySpec) final KeySpecengineGetKeySpec(Key key, Class keySpec) final KeyengineTranslateKey(Key key) generatePrivate(org.bouncycastle.asn1.pkcs.PrivateKeyInfo keyInfo) generatePublic(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo keyInfo)
-
Constructor Details
-
MLDSAKeyFactorySpi
-
MLDSAKeyFactorySpi
public MLDSAKeyFactorySpi(org.bouncycastle.asn1.ASN1ObjectIdentifier keyOid)
-
-
Method Details
-
engineGetKeySpec
- Specified by:
engineGetKeySpecin classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKeyin classKeyFactorySpi- Throws:
InvalidKeyException
-
engineGeneratePrivate
- Overrides:
engineGeneratePrivatein classBaseKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGeneratePublic
- Overrides:
engineGeneratePublicin classBaseKeyFactorySpi- Throws:
InvalidKeySpecException
-
generatePrivate
public PrivateKey generatePrivate(org.bouncycastle.asn1.pkcs.PrivateKeyInfo keyInfo) throws IOException - Throws:
IOException
-
generatePublic
public PublicKey generatePublic(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo keyInfo) throws IOException - Throws:
IOException
-