StartSignWithImage

Declaration

Delphi

function StartSignWithImage(AImage: HBITMAP): Boolean;

Description

Function emulates signing by providing signature image taken from AImage argument and generating all necessary keys programmatically. Empty biodata will be returned.

The rest of signing process can be done as usual (SetPreliminaryDocumentHash, GetEncryptedAesKey, SetFinalDocumentHash, GetSignedDocHash, etc.).

Arguments

AImage

Image handle which will be used as final signature image.

Return value

Function returns True if emulation of signing has been started successfully, false otherwise.