public static class VerificationStatus.HashMatchResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
HashMatchResult(byte[] storedHash,
byte[] computedHash)
Use
null for computed hash if access was denied. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
byte[] |
getComputedHash()
Gets the computed hash.
|
byte[] |
getStoredHash()
Gets the stored hash.
|
int |
hashCode() |
boolean |
isMatch()
Whether the hashes match.
|
java.lang.String |
toString() |
public HashMatchResult(byte[] storedHash, byte[] computedHash)
null
for computed hash if access was denied.storedHash
- the hash stored in SOdcomputedHash
- the computed hashpublic byte[] getStoredHash()
public byte[] getComputedHash()
public boolean isMatch()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object