java.lang.Object
com.github.jh3nd3rs0n.jargyle.server.socks5.userpassmethod.HashedPasswordValue

public abstract class HashedPasswordValue extends Object
A value for a HashedPassword.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract boolean
     
    abstract int
     
    abstract boolean
    passwordEquals(char[] password)
    Returns the boolean value to indicate if this HashedPasswordValue's password is equal to the provided password.
    abstract String
    Returns the String representation of this HashedPasswordValue.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HashedPasswordValue

      public HashedPasswordValue()
  • Method Details

    • equals

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

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • passwordEquals

      public abstract boolean passwordEquals(char[] password)
      Returns the boolean value to indicate if this HashedPasswordValue's password is equal to the provided password.
      Parameters:
      password - the provided secret
      Returns:
      the boolean value to indicate if this HashedPasswordValue's password is equal to the provided password
    • toString

      public abstract String toString()
      Returns the String representation of this HashedPasswordValue.
      Overrides:
      toString in class Object
      Returns:
      the String representation of this HashedPasswordValue