[]
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)
Public Delegate Sub TimeStamp.HashDelegate(dataToHash As Byte(), streamToHash As Stream, hash As Byte(), hashAlgorithmOid As OID)
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. |