Class SLHDSAKeyFactorySpi
- java.lang.Object
-
- java.security.KeyFactorySpi
-
- org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
-
- org.bouncycastle.jcajce.provider.asymmetric.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
public class SLHDSAKeyFactorySpi extends BaseKeyFactorySpi
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description SLHDSAKeyFactorySpi(java.util.Set keyOids)
SLHDSAKeyFactorySpi(ASN1ObjectIdentifier keyOid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.spec.KeySpec
engineGetKeySpec(java.security.Key key, java.lang.Class keySpec)
java.security.Key
engineTranslateKey(java.security.Key key)
java.security.PrivateKey
generatePrivate(PrivateKeyInfo keyInfo)
java.security.PublicKey
generatePublic(SubjectPublicKeyInfo keyInfo)
-
Methods inherited from class org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
engineGeneratePrivate, engineGeneratePublic
-
-
-
-
Constructor Detail
-
SLHDSAKeyFactorySpi
public SLHDSAKeyFactorySpi(java.util.Set keyOids)
-
SLHDSAKeyFactorySpi
public SLHDSAKeyFactorySpi(ASN1ObjectIdentifier keyOid)
-
-
Method Detail
-
engineGetKeySpec
public final java.security.spec.KeySpec engineGetKeySpec(java.security.Key key, java.lang.Class keySpec) throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGetKeySpec
in classjava.security.KeyFactorySpi
- Throws:
java.security.spec.InvalidKeySpecException
-
engineTranslateKey
public final java.security.Key engineTranslateKey(java.security.Key key) throws java.security.InvalidKeyException
- Specified by:
engineTranslateKey
in classjava.security.KeyFactorySpi
- Throws:
java.security.InvalidKeyException
-
generatePrivate
public java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws java.io.IOException
- Throws:
java.io.IOException
-
generatePublic
public java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
- Throws:
java.io.IOException
-
-