std.GetDocumentDigest

This job delivers the digest value of the document files.

1. Input Parameters

Name Type Required Description

dwObjectID

INT

Yes

ID of the object

dwObjectType

INT

Yes

Type of the document

[dwFlags]

INT

No

0 = digest value is read from DB
1 = digest value is calculated

[CheckSignature]

BOOL

No

1 = signature is also checked; returns Signature

2. Output Parameters

Name Type Dependency Description

TableDigest

STRING

Digest value from the DB (for dwFlags = 0 or 1)

[LocalDigest]

STRING

Optional

Calculated digest value (only for dwFlags = 1)

[Signature]

INT

Optional

0 = signature present and verified
1 = signature not present
2 = signature could not be verified due to technical error
3 = signature present but incorrect

3. Return Value

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