public class HQCKeyFactorySpi extends BaseKeyFactorySpi
Modifier and Type | Class and Description |
---|---|
static class |
HQCKeyFactorySpi.HQC128 |
static class |
HQCKeyFactorySpi.HQC192 |
static class |
HQCKeyFactorySpi.HQC256 |
Constructor and Description |
---|
HQCKeyFactorySpi() |
HQCKeyFactorySpi(ASN1ObjectIdentifier keyOids) |
Modifier and Type | Method and Description |
---|---|
java.security.PrivateKey |
engineGeneratePrivate(java.security.spec.KeySpec keySpec) |
java.security.PublicKey |
engineGeneratePublic(java.security.spec.KeySpec keySpec) |
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) |
public HQCKeyFactorySpi()
public HQCKeyFactorySpi(ASN1ObjectIdentifier keyOids)
public java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
engineGeneratePrivate
in class BaseKeyFactorySpi
java.security.spec.InvalidKeySpecException
public java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
engineGeneratePublic
in class BaseKeyFactorySpi
java.security.spec.InvalidKeySpecException
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.KeyFactorySpi
java.security.spec.InvalidKeySpecException
public final java.security.Key engineTranslateKey(java.security.Key key) throws java.security.InvalidKeyException
engineTranslateKey
in class java.security.KeyFactorySpi
java.security.InvalidKeyException
public java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOException
public java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOException