Foxit PDF SDK
<FSTrustedCertStoreCallback>协议 参考

继承自 <NSObject> .

构造函数

(BOOL) - isCertTrusted:
 A callback function used to check if input certificate is trusted. 更多...
 
(BOOL) - isCertTrustedRoot:
 A callback function used to check if input certificate is used as a trusted root. 更多...
 

详细描述

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 FSLTVVerifier::setTrustedCertStoreCallback: before doint LTV verifying process.

参见
FSLTVVerifier

函数文档

◆ isCertTrusted:()

- (BOOL) isCertTrusted: (NSData *)  cert
required

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

参数
[in]certCertificate content.
返回
YES means input certificate is trusted, while NO means input certificated is not trusted.

◆ isCertTrustedRoot:()

- (BOOL) isCertTrustedRoot: (NSData *)  cert
required

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

参数
[in]certCertificate content.
返回
YES means input certificate is used as a trusted root, while NO means input certificated is not used as a trusted root.