org.bouncycastle.pqc.jcajce.provider.haetae
Class HaetaeKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.haetae.HaetaeKeyFactorySpi
- All Implemented Interfaces:
- AsymmetricKeyInfoConverter
- Direct Known Subclasses:
- HaetaeKeyFactorySpi.HAETAE2, HaetaeKeyFactorySpi.HAETAE3, HaetaeKeyFactorySpi.HAETAE5
- public class HaetaeKeyFactorySpi
- extends BaseKeyFactorySpi
KeyFactorySpi for HAETAE. The unparameterised form
accepts encoded keys for any HAETAE parameter set; the nested
HaetaeKeyFactorySpi.HAETAE2 / HaetaeKeyFactorySpi.HAETAE3 / HaetaeKeyFactorySpi.HAETAE5 subclasses restrict
decoding to a single OID for use as the per-parameter-set
registrations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HaetaeKeyFactorySpi
public HaetaeKeyFactorySpi()
HaetaeKeyFactorySpi
public HaetaeKeyFactorySpi(ASN1ObjectIdentifier keyOid)
engineGetKeySpec
public final java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
java.lang.Class keySpec)
throws java.security.spec.InvalidKeySpecException
- Throws:
java.security.spec.InvalidKeySpecException
engineTranslateKey
public final java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
- 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