|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.security.crypto.HashedString
public class HashedString
Container for a SHA hashed password including salt if it is SSHA.
| Constructor Summary | |
|---|---|
HashedString(java.lang.String password)
Initialize the new instance with a hashed password. |
|
| Method Summary | |
|---|---|
boolean |
isEqual(byte[] password)
Compares the given clear text password with the hashed password. |
boolean |
isEqual(java.lang.String string)
Compares the given clear text string with the hashed value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HashedString(java.lang.String password)
password - A base64 encoded hash of a password with a prefix {SHA} or {SSHA}| Method Detail |
|---|
public boolean isEqual(java.lang.String string)
public boolean isEqual(byte[] password)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||