Bouncy Castle Cryptography Library 1.87

org.bouncycastle.pqc.jcajce.provider.hqc
Class HQCKeyFactorySpi

java.lang.Object
  extended byjava.security.KeyFactorySpi
      extended byorg.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
          extended byorg.bouncycastle.pqc.jcajce.provider.hqc.HQCKeyFactorySpi
All Implemented Interfaces:
AsymmetricKeyInfoConverter
Direct Known Subclasses:
HQCKeyFactorySpi.HQC128, HQCKeyFactorySpi.HQC192, HQCKeyFactorySpi.HQC256

public class HQCKeyFactorySpi
extends BaseKeyFactorySpi


Nested Class Summary
static class HQCKeyFactorySpi.HQC128
           
static class HQCKeyFactorySpi.HQC192
           
static class HQCKeyFactorySpi.HQC256
           
 
Constructor Summary
HQCKeyFactorySpi()
           
HQCKeyFactorySpi(ASN1ObjectIdentifier keyOids)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
engineGeneratePrivate, engineGeneratePublic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HQCKeyFactorySpi

public HQCKeyFactorySpi()

HQCKeyFactorySpi

public HQCKeyFactorySpi(ASN1ObjectIdentifier keyOids)
Method Detail

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

Bouncy Castle Cryptography Library 1.87