Class BCCMCEPublicKey

java.lang.Object
org.bouncycastle.pqc.jcajce.provider.cmce.BCCMCEPublicKey
All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, CMCEKey

@Deprecated public class BCCMCEPublicKey extends Object implements PublicKey, CMCEKey
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.
See Also:
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object o)
      Deprecated.
      Compare this CMCE public key with another object.
      Overrides:
      equals in class Object
      Parameters:
      o - the other object
      Returns:
      the result of the comparison
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • getAlgorithm

      public final String getAlgorithm()
      Deprecated.
      Specified by:
      getAlgorithm in interface Key
      Returns:
      name of the algorithm - "CMCE"
    • getEncoded

      public byte[] getEncoded()
      Deprecated.
      Specified by:
      getEncoded in interface Key
    • getFormat

      public String getFormat()
      Deprecated.
      Specified by:
      getFormat in interface Key
    • getParameterSpec

      public CMCEParameterSpec getParameterSpec()
      Deprecated.
      Description copied from interface: CMCEKey
      Return the parameters for this key.
      Specified by:
      getParameterSpec in interface CMCEKey
      Returns:
      a CMCEParameterSpec