/
LoadEncHash
LoadEncHash
Declaration
Delphi
function LoadEncHash(const HashKey: PAnsiChar): Integer; stdcall;
ActiveX
HRESULT _stdcall LoadEncHash([in] BSTR HashKey, [out, retval] long* Value);
Description
This function loads, decrypts and checks the hash sum of a document, allowing to determine whether the document has been modified since sealing or not.
Parameters
Parameters | Description |
---|---|
HashKey | Path to the public key file, which has to be used to decrypt the stored hash sum |
Return values
Return values | Description |
---|---|
0 | Success |
1 | Error |
2 | Wrong hash version (may happen when the document was sealed with a newer software version than the current one) |
3 | Wrong key ID (Public and private keys used for encryption and decryption must match each other by ID) |
, multiple selections available,
Related content
LoadBioData
LoadBioData
More like this
SetPreliminaryDocumentHash
SetPreliminaryDocumentHash
More like this
DecryptSignatureAESKey
DecryptSignatureAESKey
More like this
GetEncryptedAesKey
GetEncryptedAesKey
More like this
SetDocumentHash
SetDocumentHash
More like this
XMLGetSignInfoEncryptedKey
XMLGetSignInfoEncryptedKey
More like this