Class FaestKeyFactorySpi
- java.lang.Object
-
- java.security.KeyFactorySpi
-
- org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
-
- org.bouncycastle.pqc.jcajce.provider.faest.FaestKeyFactorySpi
-
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
FaestKeyFactorySpi.FAEST_128F,FaestKeyFactorySpi.FAEST_128S,FaestKeyFactorySpi.FAEST_192F,FaestKeyFactorySpi.FAEST_192S,FaestKeyFactorySpi.FAEST_256F,FaestKeyFactorySpi.FAEST_256S,FaestKeyFactorySpi.FAEST_EM_128F,FaestKeyFactorySpi.FAEST_EM_128S,FaestKeyFactorySpi.FAEST_EM_192F,FaestKeyFactorySpi.FAEST_EM_192S,FaestKeyFactorySpi.FAEST_EM_256F,FaestKeyFactorySpi.FAEST_EM_256S
public class FaestKeyFactorySpi extends BaseKeyFactorySpi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFaestKeyFactorySpi.FAEST_128Fstatic classFaestKeyFactorySpi.FAEST_128Sstatic classFaestKeyFactorySpi.FAEST_192Fstatic classFaestKeyFactorySpi.FAEST_192Sstatic classFaestKeyFactorySpi.FAEST_256Fstatic classFaestKeyFactorySpi.FAEST_256Sstatic classFaestKeyFactorySpi.FAEST_EM_128Fstatic classFaestKeyFactorySpi.FAEST_EM_128Sstatic classFaestKeyFactorySpi.FAEST_EM_192Fstatic classFaestKeyFactorySpi.FAEST_EM_192Sstatic classFaestKeyFactorySpi.FAEST_EM_256Fstatic classFaestKeyFactorySpi.FAEST_EM_256S
-
Constructor Summary
Constructors Constructor Description FaestKeyFactorySpi()FaestKeyFactorySpi(ASN1ObjectIdentifier keyOid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.spec.KeySpecengineGetKeySpec(java.security.Key key, java.lang.Class keySpec)java.security.KeyengineTranslateKey(java.security.Key key)java.security.PrivateKeygeneratePrivate(PrivateKeyInfo keyInfo)java.security.PublicKeygeneratePublic(SubjectPublicKeyInfo keyInfo)-
Methods inherited from class org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
engineGeneratePrivate, engineGeneratePublic
-
-
-
-
Constructor Detail
-
FaestKeyFactorySpi
public FaestKeyFactorySpi()
-
FaestKeyFactorySpi
public FaestKeyFactorySpi(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:
engineGetKeySpecin 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:
engineTranslateKeyin 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
-
-