Class BCNHPrivateKey

    • Method Detail

      • equals

        public boolean equals​(Object o)
        Compare this NH 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 - "NH"
      • getEncoded

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