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. For how the hash value is calculated over the document files, see Calculating the digest value.

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 over all files of the document — 64-character uppercase hex string

3. Return Value

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