Edit

Share via


SignatureProvider.HashStream(Object, Object) Method

Definition

Allows a signature provider add-in to create a hash value for the document that you can use to determine if the document contents were tampered with after digital signing.

public:
 Array ^ HashStream(System::Object ^ QueryContinue, System::Object ^ Stream);
public Array HashStream (object QueryContinue, object Stream);
abstract member HashStream : obj * obj -> Array
Public Function HashStream (QueryContinue As Object, Stream As Object) As Array

Parameters

QueryContinue
Object

Provides a way to query the host application for permission to continue the hashing process.

Stream
Object

Contains the data stream.

Returns

Array

Remarks

The SignatureProvider object is used exclusively in custom signature provider add-ins. This method is called once per signature data stream in a document. The return value is an array of bytes representing the hash value computed using the hash algorithm.

Applies to