PDFix SDK  6.5.0
PdfCustomDigSig Struct Referenceabstract

PdfCustomDigSig class. More...

Inheritance diagram for PdfCustomDigSig:
PdfBaseDigSig

Public Member Functions

virtual bool RegisterDigestDataProc (PdfDigestDataProc proc, void *data)=0
 Registers a user-supplied procedure to call when PdfCustomDigSig::SignDoc is called. More...
 
- Public Member Functions inherited from PdfBaseDigSig
virtual void Destroy ()=0
 Destroys digital signature's resources. More...
 
virtual bool SetReason (const wchar_t *reason)=0
 Sets the reason for the signing. More...
 
virtual bool SetLocation (const wchar_t *location)=0
 Sets the location of signing. More...
 
virtual bool SetContactInfo (const wchar_t *contact)=0
 Sets the contact information of the signer. More...
 
virtual bool SetName (const wchar_t *name)=0
 
virtual bool SetTimeStampServer (const wchar_t *url, const wchar_t *user_name, const wchar_t *password)=0
 Sets the timestamp server url and accesses credentials to apply the timestamp. More...
 
virtual bool SignDoc (PdfDoc *doc, const wchar_t *path)=0
 Applies the digital signature and saves document to specified path. More...
 

Detailed Description

PdfCustomDigSig class.

Platfor independent digital signature object. Caller can handle signing process with callbacks.

Member Function Documentation

◆ RegisterDigestDataProc()

virtual bool PdfCustomDigSig::RegisterDigestDataProc ( PdfDigestDataProc  proc,
void *  data 
)
pure virtual

Registers a user-supplied procedure to call when PdfCustomDigSig::SignDoc is called.

Parameters
procA user-supplied callback to call when the digital signature requests signed digests data.
dataA pointer to user-supplied data to pass to proc each time it is called.
Returns
true if callback was registered, false otherwise.
See also
PdfCustomDigSig::RegisterDigestDataLenProc