|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetSecurityType () |
| Get the encryption type of current security handler. More... | |
| def | IsEmpty () |
| Check whether current object is empty or not. More... | |
Class SecurityHandler is the base class that represents a security hander used for encrypting PDF document. It has following derived classes:
Class StdSecurityHandler is used for password encryption.
Class CertificateSecurityHandler is used for certificate encryption.
Class DRMSecurityHandler is used for DRM encryption.
Class CustomSecurityHandler is used for custom encryption.
Class RMSSecurityHandler is used for RMS encryption.
To set a security handler to a PDF document, please call function fsdk.PDFDoc.SetSecurityHandler , then the security handler will take effect in later saving process. To get the security handler used for a PDF document, please call function fsdk.PDFDoc.SetSecurityHandler .
| def fsdk.SecurityHandler.GetSecurityType | ( | ) |
Get the encryption type of current security handler.
| def fsdk.SecurityHandler.IsEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.