function LoadEncHash(const HashKey: PAnsiChar): Integer; stdcall;
HRESULT _stdcall LoadEncHash([in] BSTR HashKey, [out, retval] long* Value);
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.
|Path to the public key file, which has to be used to decrypt the stored hash sum|
|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)|