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
Name | Type |
---|---|
documentBase64 | string |
expectedSHA256 | string |
documentId | string |
conn | ConnToken |
ctx | Ctx |
serviceUser | ServiceUser |
projectId | string |
subprojectId | string |
workflowitemId | string |
Returns
Promise
<Type
<boolean
>>