PDFix SDK  6.5.0
PdfDigSig Struct Referenceabstract

PdfDigSig class. More...

Inheritance diagram for PdfDigSig:
PdfBaseDigSig

Public Member Functions

virtual bool SetPfxFile (const wchar_t *pfx_file, const wchar_t *pfx_password)=0
 Sets the pfx file for signing the document with digital signature. 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

PdfDigSig class.

Uses OpenSSL to handle certificates.

Member Function Documentation

◆ SetPfxFile()

virtual bool PdfDigSig::SetPfxFile ( const wchar_t *  pfx_file,
const wchar_t *  pfx_password 
)
pure virtual

Sets the pfx file for signing the document with digital signature.

Parameters
pfx_fileThe path of the PFX signature file.
pfx_passwordThe password to open the PFX file.
Returns
true if was set successfully, false otherwise. Sample DigitalSignature