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
KeyFactory.<spec.getName()> registrations.| Modifier and Type | Class and Description |
|---|---|
static class |
HaetaeKeyFactorySpi.HAETAE2 |
static class |
HaetaeKeyFactorySpi.HAETAE3 |
static class |
HaetaeKeyFactorySpi.HAETAE5 |
| Constructor and Description |
|---|
HaetaeKeyFactorySpi() |
HaetaeKeyFactorySpi(ASN1ObjectIdentifier keyOid) |
| Modifier and Type | Method and 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) |
engineGeneratePrivate, engineGeneratePublicpublic HaetaeKeyFactorySpi()
public HaetaeKeyFactorySpi(ASN1ObjectIdentifier keyOid)
public final java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
java.lang.Class keySpec)
throws java.security.spec.InvalidKeySpecException
engineGetKeySpec in class java.security.KeyFactorySpijava.security.spec.InvalidKeySpecExceptionpublic final java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
engineTranslateKey in class java.security.KeyFactorySpijava.security.InvalidKeyExceptionpublic java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOException