In This Topic
GdPicture14 Namespace / GdPicturePDF Class / SetCertificate Method

SetCertificate Method (GdPicturePDF)

In This Topic
Sets the certificate contained in the digital ID file and decrypts the currently loaded PDF document using the associated public key.
Overload List
OverloadDescription
Sets the certificate (the associated public key), contained in the digital ID stored in the specified external PKCS#12 file with the filename extension ".p12" or ".pfx". The method works with the file specified by its file path as a string.

This method applies the concept of the public key security. It is assumed, that the currently loaded PDF document is encrypted using the provided digital ID. The document is subsequently decrypted using the associated public key.

 
Sets the certificate (the associated public key), contained in the digital ID stored in the specified external PKCS#12 file with the filename extension ".p12" or ".pfx". The method works with the instantiated stream object containing the corresponding file.

This method applies the concept of the public key security. It is assumed, that the currently loaded PDF document is encrypted using the provided digital ID. The document is subsequently decrypted using the associated public key.

 
See Also