Foxit PDF SDK
foxit::pdf::CustomEncryptData类 参考

Public 成员函数

 CustomEncryptData (bool is_encrypt_metadata, const String &filter, const String &sub_filter)
 构造函数,带参数。 更多...
 
 CustomEncryptData ()
 构造函数。
 
 CustomEncryptData (const CustomEncryptData &other)
 构造函数,使用另一个自定义加密数据对象。 更多...
 
bool operator != (const CustomEncryptData &other) const
 不等于操作符。 更多...
 
CustomEncryptDataoperator= (const CustomEncryptData &other)
 赋值操作符。 更多...
 
bool operator== (const CustomEncryptData &other) const
 等于操作符。 更多...
 
void Set (bool is_encrypt_metadata, const String &filter, const String &sub_filter)
 设置值。 更多...
 

Public 属性

String filter
 自定义安全回调对象的过滤器名称。不应为空字符串。
 
bool is_encrypt_metadata
 决定是否加密元数据的布尔值。true 表示加密元数据,false 表示不加密元数据。
 
String sub_filter
 指定加密字典内容语法的子过滤器名称。不应为空字符串。
 

详细描述

此类表示用于类 CustomSecurityHandler 的一些数据。

构造及析构函数说明

◆ CustomEncryptData() [1/2]

foxit::pdf::CustomEncryptData::CustomEncryptData ( bool  is_encrypt_metadata,
const String filter,
const String sub_filter 
)
inline

构造函数,带参数。

参数
[in]is_encrypt_metadatatrue 表示加密元数据,false 表示不加密元数据。
[in]filter自定义安全回调对象的过滤器名称。不应为空字符串。
[in]sub_filter指定加密字典内容语法的子过滤器名称。不应为空字符串。

◆ CustomEncryptData() [2/2]

foxit::pdf::CustomEncryptData::CustomEncryptData ( const CustomEncryptData other)
inline

构造函数,使用另一个自定义加密数据对象。

参数
[in]other另一个自定义加密数据对象。

成员函数说明

◆ operator !=()

bool foxit::pdf::CustomEncryptData::operator != ( const CustomEncryptData other) const
inline

不等于操作符。

参数
[in]other另一个自定义加密数据对象。此函数将检查当前对象是否不等于该对象。
返回
true 表示不相等,false 表示相等。

◆ operator=()

CustomEncryptData& foxit::pdf::CustomEncryptData::operator= ( const CustomEncryptData other)
inline

赋值操作符。

参数
[in]other另一个自定义加密数据对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ operator==()

bool foxit::pdf::CustomEncryptData::operator== ( const CustomEncryptData other) const
inline

等于操作符。

参数
[in]other另一个自定义加密数据对象。此函数将检查当前对象是否等于该对象。
返回
true 表示相等,false 表示不相等。

◆ Set()

void foxit::pdf::CustomEncryptData::Set ( bool  is_encrypt_metadata,
const String filter,
const String sub_filter 
)
inline

设置值。

参数
[in]is_encrypt_metadatatrue 表示加密元数据,false 表示不加密元数据。
[in]filter自定义安全回调对象的过滤器名称。不应为空字符串。
[in]sub_filter指定加密字典内容语法的子过滤器名称。不应为空字符串。
返回
无。