public abstract class CertificateHandler
extends java.lang.Object
CertificateHandler
represents an abstract class.
It offers callback methods for application to implement the certificate decryption.
It should be set to Foxit PDF SDK by calling
before doing certificate encryption or decryption.PDFDocument.setCertificateHandler(CertificateHandler)
PDFDocument
Modifier and Type | Class and Description |
---|---|
class |
CertificateHandler.CertificateInfo |
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
clientData
User-defined data.
|
Constructor and Description |
---|
CertificateHandler() |
Modifier and Type | Method and Description |
---|---|
abstract CertificateHandler.CertificateInfo |
getCertificateInfo(java.lang.Object clientData)
Callback function to get the certificate information for decryption.
|
public java.lang.Object clientData
public abstract CertificateHandler.CertificateInfo getCertificateInfo(java.lang.Object clientData) throws PDFException
clientData
- The user-defined data.CertificateInfo
object that receives the information of the specified certificate.PDFException
- For more exception information please see definitions
PDFException.ERRCODE_XXX
.PDFException