Foxit PDF SDK

Public Member Functions | List of all members
foxit::pdf::TrustedCertStoreCallback Class Referenceabstract

## Public Member Functions
virtual bool | IsCertTrusted (const String &cert)=0
| A callback function used to check if input certificate is trusted. More...
virtual bool | IsCertTrustedRoot (const String &cert)=0
| 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 LTVVerifier::SetTrustedCertStoreCallback before doint LTV verifying process.

See also
  pdf::LTVVerifier

## Member Function Documentation

## ◆ IsCertTrusted()

virtual bool foxit::pdf::TrustedCertStoreCallback::IsCertTrusted | ( | const String & | cert | ) |
| pure virtual

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

Parameters

  [in] | cert | Certificate content.

Returns
  true means input certificate is trusted, while false means input certificated is not trusted.

## ◆ IsCertTrustedRoot()

virtual bool foxit::pdf::TrustedCertStoreCallback::IsCertTrustedRoot | ( | const String & | cert | ) |
| pure virtual

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

Parameters

  [in] | cert | Certificate content.

Returns
  true means input certificate is used as a trusted root, while false means input certificated is not used as a trusted root.