Class HawkKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.hawk.HawkKeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
HawkKeyFactorySpi.HAWK_1024, HawkKeyFactorySpi.HAWK_256, HawkKeyFactorySpi.HAWK_512
KeyFactorySpi for Hawk. The unparameterised form
accepts encoded keys for any Hawk parameter set; the nested HawkKeyFactorySpi.HAWK_256
/ HawkKeyFactorySpi.HAWK_512 / HawkKeyFactorySpi.HAWK_1024 subclasses restrict decoding to a
single OID for use as the per-parameter-set KeyFactory.<spec.getName()>
registrations.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal KeySpecengineGetKeySpec(Key key, Class keySpec) final KeyengineTranslateKey(Key key) generatePrivate(PrivateKeyInfo keyInfo) generatePublic(SubjectPublicKeyInfo keyInfo) Methods inherited from class BaseKeyFactorySpi
engineGeneratePrivate, engineGeneratePublic
-
Constructor Details
-
HawkKeyFactorySpi
public HawkKeyFactorySpi() -
HawkKeyFactorySpi
-
-
Method Details
-
engineGetKeySpec
- Specified by:
engineGetKeySpecin classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKeyin classKeyFactorySpi- Throws:
InvalidKeyException
-
generatePrivate
- Throws:
IOException
-
generatePublic
- Throws:
IOException
-