DataHash Class |
Namespace: Guardtime.KSI.Hashing
The DataHash type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataHash(Byte) |
Constructor which initializes the DataHash with imprint.
|
![]() | DataHash(HashAlgorithm, Byte) |
Constructor which initializes the DataHash with algorithm and value.
|
Name | Description | |
---|---|---|
![]() | Algorithm |
Get the HashAlgorithm used to compute this DataHash.
|
![]() | Imprint |
Get data imprint.
Imprint is created by concatenating hash algorithm id with hash value.
|
![]() | Value |
Get the computed hash value for DataHash.
|
Name | Description | |
---|---|---|
![]() | Equals(Object) |
Compare TLV element to object.
(Overrides ObjectEquals(Object).) |
![]() | Equals(DataHash) |
Compare current hash against another hash.
|
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode |
Get hash code of current object.
(Overrides ObjectGetHashCode.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString |
Get DataHash as a string including the algorithm name and computed hash value.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Compares two hash objects.
|
![]() ![]() | Inequality |
Compares two hash objects for non equality.
|