Adds a digital signature to a PDF document from a PFX file.
public void SignDocument(
string destinationFileName,
string signatureFileName,
string signaturePassword
)
Public Sub SignDocument( _
ByVal destinationFileName As String, _
ByVal signatureFileName As String, _
ByVal signaturePassword As String _
)
public:
void SignDocument(
String^ destinationFileName,
String^ signatureFileName,
String^ signaturePassword
)
destinationFileName
Name of the destination PDF file to be created. If the value of this parameter is null then the filename set in FileName will be updated.
signatureFileName
Name of the file containing the digital signature. This should be a valid PFX file and cannot be null.
signaturePassword
The password to use if the PFX file requires one. Otherwise, null.
SignDocument will add the PFX digital signature in signatureFileName to an existing PDF file. Use ParsePages with the PDFParsePagesOptions.Signatures to read the digital signatures associated with a PDF document.
The PDF Forms Demo contains a full implementation of PDF signatures.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET