Class BCLMSPublicKey

java.lang.Object
org.bouncycastle.pqc.jcajce.provider.lms.BCLMSPublicKey
All Implemented Interfaces:
Serializable, Key, PublicKey, LMSKey

public class BCLMSPublicKey extends Object implements PublicKey, LMSKey
See Also:
  • Constructor Details

  • Method Details

    • getAlgorithm

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

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

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public int getLevels()
      Description copied from interface: LMSKey
      Return the number of levels (L) associated with the key.
      Specified by:
      getLevels in interface LMSKey
      Returns:
      L.