Bouncy Castle Cryptography Library 1.85

org.bouncycastle.pqc.jcajce.provider.cmce
Class CMCEKeyFactorySpi

java.lang.Object
  extended byjava.security.KeyFactorySpi
      extended byorg.bouncycastle.pqc.jcajce.provider.cmce.CMCEKeyFactorySpi
All Implemented Interfaces:
AsymmetricKeyInfoConverter

Deprecated. the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.

public class CMCEKeyFactorySpi
extends java.security.KeyFactorySpi
implements AsymmetricKeyInfoConverter


Constructor Summary
CMCEKeyFactorySpi()
          Deprecated.  
 
Method Summary
 java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
          Deprecated.  
 java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
          Deprecated.  
 java.security.spec.KeySpec engineGetKeySpec(java.security.Key key, java.lang.Class keySpec)
          Deprecated.  
 java.security.Key engineTranslateKey(java.security.Key key)
          Deprecated.  
 java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
          Deprecated.  
 java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMCEKeyFactorySpi

public CMCEKeyFactorySpi()
Deprecated. 
Method Detail

engineGeneratePrivate

public java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
                                               throws java.security.spec.InvalidKeySpecException
Deprecated. 
Throws:
java.security.spec.InvalidKeySpecException

engineGeneratePublic

public java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
                                             throws java.security.spec.InvalidKeySpecException
Deprecated. 
Throws:
java.security.spec.InvalidKeySpecException

engineGetKeySpec

public final java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
                                                         java.lang.Class keySpec)
                                                  throws java.security.spec.InvalidKeySpecException
Deprecated. 
Throws:
java.security.spec.InvalidKeySpecException

engineTranslateKey

public final java.security.Key engineTranslateKey(java.security.Key key)
                                           throws java.security.InvalidKeyException
Deprecated. 
Throws:
java.security.InvalidKeyException

generatePrivate

public java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
                                         throws java.io.IOException
Deprecated. 
Specified by:
generatePrivate in interface AsymmetricKeyInfoConverter
Throws:
java.io.IOException

generatePublic

public java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
                                       throws java.io.IOException
Deprecated. 
Specified by:
generatePublic in interface AsymmetricKeyInfoConverter
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.85