Class BCBIKEPrivateKey

java.lang.Object
org.bouncycastle.pqc.jcajce.provider.bike.BCBIKEPrivateKey
All Implemented Interfaces:
Serializable, Key, PrivateKey, Destroyable, BIKEKey

public class BCBIKEPrivateKey extends Object implements PrivateKey, BIKEKey
See Also:
  • Constructor Details

  • Method Details

    • equals

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

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

      public final String getAlgorithm()
      Specified by:
      getAlgorithm in interface Key
      Returns:
      name of the algorithm - "BIKE[128|192|256]"
    • getEncoded

      public byte[] getEncoded()
      Specified by:
      getEncoded in interface Key
    • getParameterSpec

      public BIKEParameterSpec getParameterSpec()
      Description copied from interface: BIKEKey
      Return the parameters for this key.
      Specified by:
      getParameterSpec in interface BIKEKey
      Returns:
      a BIKEParameterSpec
    • getFormat

      public String getFormat()
      Specified by:
      getFormat in interface Key