public class Hash
Represents a hash value
| Constructor and Description |
|---|
Hash()
Constructor for Hash.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals()
{@inheritDoc}
|
static Hash |
fromHex()
Creates a hash from the given hex value
|
Algorithm |
getAlgorithm()
Getter for the field
algorithm. |
byte[] |
getValue()
Getter for the field
value. |
java.lang.String |
getValueAsHex()
getValueAsHex
|
int |
hashCode()
{@inheritDoc}
|
java.lang.String |
toString()
{@inheritDoc}
|
public Algorithm getAlgorithm()
Getter for the field algorithm.
public java.lang.String getValueAsHex()
getValueAsHex
public byte[] getValue()
Getter for the field value.
public java.lang.String toString()
{@inheritDoc}
public boolean equals()
{@inheritDoc}
public int hashCode()
{@inheritDoc}
public static Hash fromHex()
Creates a hash from the given hex value