Class BCCMCEPublicKey

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

@Deprecated public class BCCMCEPublicKey extends Object implements CMCEPublicKey
Deprecated.
Now believed unsafe to use - will be removed in a future release.
See Also:
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • 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..." followed by the parameter type.
    • getPublicData

      public byte[] getPublicData()
      Deprecated.
      Description copied from interface: CMCEPublicKey
      Return the raw encoded data representing the public key.
      Specified by:
      getPublicData in interface CMCEPublicKey
      Returns:
      the raw public key data.
    • 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
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object