Class HashedPasswordValue
java.lang.Object
com.github.jh3nd3rs0n.jargyle.server.socks5.userpassmethod.HashedPasswordValue
A value for a
HashedPassword
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
abstract int
hashCode()
abstract boolean
passwordEquals
(char[] password) Returns theboolean
value to indicate if thisHashedPasswordValue
's password is equal to the provided password.abstract String
toString()
Returns theString
representation of thisHashedPasswordValue
.
-
Constructor Details
-
HashedPasswordValue
public HashedPasswordValue()
-
-
Method Details
-
equals
-
hashCode
public abstract int hashCode() -
passwordEquals
public abstract boolean passwordEquals(char[] password) Returns theboolean
value to indicate if thisHashedPasswordValue
's password is equal to the provided password.- Parameters:
password
- the provided secret- Returns:
- the
boolean
value to indicate if thisHashedPasswordValue
's password is equal to the provided password
-
toString
Returns theString
representation of thisHashedPasswordValue
.
-