Class SLHDSAKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.slhdsa.SLHDSAKeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
SLHDSAKeyFactorySpi.Hash,SLHDSAKeyFactorySpi.HashSha2_128f,SLHDSAKeyFactorySpi.HashSha2_128s,SLHDSAKeyFactorySpi.HashSha2_192f,SLHDSAKeyFactorySpi.HashSha2_192s,SLHDSAKeyFactorySpi.HashSha2_256f,SLHDSAKeyFactorySpi.HashSha2_256s,SLHDSAKeyFactorySpi.HashShake_128f,SLHDSAKeyFactorySpi.HashShake_128s,SLHDSAKeyFactorySpi.HashShake_192f,SLHDSAKeyFactorySpi.HashShake_192s,SLHDSAKeyFactorySpi.HashShake_256f,SLHDSAKeyFactorySpi.HashShake_256s,SLHDSAKeyFactorySpi.Pure,SLHDSAKeyFactorySpi.Sha2_128f,SLHDSAKeyFactorySpi.Sha2_128s,SLHDSAKeyFactorySpi.Sha2_192f,SLHDSAKeyFactorySpi.Sha2_192s,SLHDSAKeyFactorySpi.Sha2_256f,SLHDSAKeyFactorySpi.Sha2_256s,SLHDSAKeyFactorySpi.Shake_128f,SLHDSAKeyFactorySpi.Shake_128s,SLHDSAKeyFactorySpi.Shake_192f,SLHDSAKeyFactorySpi.Shake_192s,SLHDSAKeyFactorySpi.Shake_256f,SLHDSAKeyFactorySpi.Shake_256s
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionSLHDSAKeyFactorySpi(Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> keyOids) SLHDSAKeyFactorySpi(org.bouncycastle.asn1.ASN1ObjectIdentifier keyOid) -
Method Summary
Modifier and TypeMethodDescriptionfinal KeySpecengineGetKeySpec(Key key, Class keySpec) final KeyengineTranslateKey(Key key) generatePrivate(org.bouncycastle.asn1.pkcs.PrivateKeyInfo keyInfo) generatePublic(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo keyInfo) Methods inherited from class org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
engineGeneratePrivate, engineGeneratePublic
-
Constructor Details
-
SLHDSAKeyFactorySpi
-
SLHDSAKeyFactorySpi
public SLHDSAKeyFactorySpi(org.bouncycastle.asn1.ASN1ObjectIdentifier keyOid)
-
-
Method Details
-
engineGetKeySpec
- Specified by:
engineGetKeySpecin classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKeyin classKeyFactorySpi- Throws:
InvalidKeyException
-
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
-