Foxit PDF SDK
FoxitPDFSDKPython3.TrustedCertStoreCallback Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def IsCertTrusted (cert)
 A callback function used to check if input certificate is trusted. More...
 
def IsCertTrustedRoot (cert)
 A callback function used to check if input certificate is used as a trusted root. More...
 

Detailed Description

This class represent a callback object as trusted cert store. All the pure virtual functions in this class are used as callback functions and should be implemented by user.
If user wants to trust some certificate during LTV verify process, user can set a customized trusted cert store callback object by function FoxitPDFSDKPython3.LTVVerifier.SetTrustedCertStoreCallback before doint LTV verifying process.

See also
FoxitPDFSDKPython3.LTVVerifier

Member Function Documentation

◆ IsCertTrusted()

def FoxitPDFSDKPython3.TrustedCertStoreCallback.IsCertTrusted (   cert)

A callback function used to check if input certificate is trusted.

Parameters
[in]certCertificate content.
Returns
true means input certificate is trusted, while false means input certificated is not trusted.

◆ IsCertTrustedRoot()

def FoxitPDFSDKPython3.TrustedCertStoreCallback.IsCertTrustedRoot (   cert)

A callback function used to check if input certificate is used as a trusted root.

Parameters
[in]certCertificate content.
Returns
true means input certificate is used as a trusted root, while false means input certificated is not used as a trusted root.