std.CalcDocumentDigest

This job stores the hash value and optionally the signature for a given document. The assurance of the hash value and signature is subject to the server — for using this job please contact Optimal Systems GmbH support.

1. Input Parameters

Name Type Required Description

dwObjectID

INT

Yes

ID of the object

dwObjectType

INT

Yes

Type of the selected object

Flags

INT

Yes

Currently not supported — pass 0.

Pwd

STRING

Yes

Password — if incorrect, no action will be performed.

Sign

BOOL

Yes

1 = document will also be signed

2. Output Parameters

Name Type Dependency Description

Digest

STRING

Hash value of the files

3. Return Value

(INT): 0 = Job successful, otherwise error code.