Class CMCEKeyFactorySpi

  • All Implemented Interfaces:
    AsymmetricKeyInfoConverter

    @Deprecated
    public class CMCEKeyFactorySpi
    extends java.security.KeyFactorySpi
    implements 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.
    • 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.
        Specified by:
        engineGeneratePrivate in class java.security.KeyFactorySpi
        Throws:
        java.security.spec.InvalidKeySpecException
      • engineGeneratePublic

        public java.security.PublicKey engineGeneratePublic​(java.security.spec.KeySpec keySpec)
                                                     throws java.security.spec.InvalidKeySpecException
        Deprecated.
        Specified by:
        engineGeneratePublic in class java.security.KeyFactorySpi
        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.
        Specified by:
        engineGetKeySpec in class java.security.KeyFactorySpi
        Throws:
        java.security.spec.InvalidKeySpecException
      • engineTranslateKey

        public final java.security.Key engineTranslateKey​(java.security.Key key)
                                                   throws java.security.InvalidKeyException
        Deprecated.
        Specified by:
        engineTranslateKey in class java.security.KeyFactorySpi
        Throws:
        java.security.InvalidKeyException