Skip to main content

service/document_validation

Api Code Documentation / Exports / service/document_validation

Table of contents

Functions

Functions

isSameDocument

isSameDocument(documentBase64, expectedSHA256, documentId, conn, ctx, serviceUser, projectId, subprojectId, workflowitemId): Promise<Type<boolean>>

Returns true if the given hash matches the given document.

Parameters

NameType
documentBase64string
expectedSHA256string
documentIdstring
connConnToken
ctxCtx
serviceUserServiceUser
projectIdstring
subprojectIdstring
workflowitemIdstring

Returns

Promise<Type<boolean>>

Defined in

src/service/document_validation.ts:25