Class FrodoKeyFactorySpi

  • All Implemented Interfaces:
    AsymmetricKeyInfoConverter

    @Deprecated
    public class FrodoKeyFactorySpi
    extends java.security.KeyFactorySpi
    implements AsymmetricKeyInfoConverter
    Deprecated.
    the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.
    • Constructor Detail

      • FrodoKeyFactorySpi

        public FrodoKeyFactorySpi()
        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