TimeStamp.HashDelegate Delegate
In This Topic
Represents a delegate used to calculate the hash over data. The data can be represented by an array of bytes or by a
System.IO.Stream.
Outputs the hash value and the hash algorithm OID.
Syntax
'Declaration
Public Delegate Sub TimeStamp.HashDelegate( _
ByVal () As System.Byte, _
ByVal As System.IO.Stream, _
ByRef () As System.Byte, _
ByRef As OID _
)
public delegate void TimeStamp.HashDelegate(
System.byte[] ,
System.IO.Stream ,
out System.byte[] ,
out OID
)
Parameters
- dataToHash
- The byte array containing the data. If a null reference (Nothing in Visual Basic), will be used.
- streamToHash
- The stream containing the data. If a null reference (Nothing in Visual Basic), will be used.
- hash
- OUT: The data hash value.
- hashAlgorithmOid
- OUT: The hash algorithm OID.
See Also