Foxit PDF SDK

构造函数 | 所有成员列表
<FSCertificateSecurityCallback>协议 参考
类 <FSCertificateSecurityCallback> 继承关系图:

## 构造函数
(NSData *) | - getDecryptionKey:
| A callback function used to get the key for decrypting certificate protected PDF document. 更多...
构造函数 继承自 <FSSecurityCallback>
(FSPDFDocEncryptType) | - GetSecurityType
| Get the encryption type of security callback. 更多...

## 详细描述

This class represents a callback object for certificate decryption. If user wants to use their own certificate security callback, user should inherit this callback class and implement the pure virtual functions (as callback functions), and then register their own certificate security callback object to Foxit PDF SDK by function FSLibrary::registerSecurityCallback:callback: with filter "Adobe.PubSec". Function FSLibrary::unregisterSecurityCallback: can be called to unregister the security callback object with the registered filter name.

## 函数文档

## ◆ getDecryptionKey:()

- (NSData*) getDecryptionKey: |  | (NSData *) | envelope_buffer |
| required

A callback function used to get the key for decrypting certificate protected PDF document.

参数

  [in] | envelope_buffer | A buffer which represents a certificate envelope.

注解
  User should implement this callback function.

返回
  The decryption key.