[]
Represents a delegate used to calculate the hash over data. The data can be represented by an array of bytes or by a Stream.
Outputs the hash value and the hash algorithm OID.
public delegate void TimeStamp.HashDelegate(byte[] dataToHash, Stream streamToHash, out byte[] hash, out OID hashAlgorithmOid)
| Type | Name | Description |
|---|---|---|
| byte[] | dataToHash | The byte array containing the data. If null, |
| Stream | streamToHash | The stream containing the data. If null, |
| byte[] | hash | OUT: The data hash value. |
| OID | hashAlgorithmOid | OUT: The hash algorithm OID. |
| Name | Description |
|---|---|
| HashDelegate(object, IntPtr) |
| Name | Description |
|---|---|
| BeginInvoke(byte[], Stream, out byte[], out OID, AsyncCallback, object) | |
| EndInvoke(out byte[], out OID, IAsyncResult) | |
| Invoke(byte[], Stream, out byte[], out OID) |