Foxit PDF SDK

Instance Methods | List of all members
<FSCertChainResolverCallback> Protocol Reference

Inherits <NSObject>.

## Instance Methods
(NSArray< NSData * > *) | - GetCertificates
| Retrieve the array of certificates available for completing the certificate chain. More...

## Detailed Description

This class represents a callback object that supplies extra certificates to complete the certificate chain. All the pure virtual functions in this class are used as callback functions and should be implemented by user.
If user wants to supply extra certificates during LTV verify process, a customized certificate chain resolver callback object can be set via LTVVerifier::SetCertChainResolverCallback before doing LTV verifying process.
Only available when using the default internal revocation callback of Foxit PDF SDK.

See also
  pdf::LTVVerifier

## Method Documentation

## ◆ GetCertificates()

- (NSArray<NSData*>*) GetCertificates |  |  |
| required

Retrieve the array of certificates available for completing the certificate chain.

Returns
  An array of certificates.

Note
  User may return the certificates currently needed or all available system certificates. These certificates are used to complete and validate the certificate chain.