|
Foxit PDF SDK
|
Public 类型 | |
| enum | SendRequestResult { e_SendResultSuccess = 0, e_SendResultFailToCreateSocket = 1, e_SendResultFailToConnect = 2, e_SendResultFailToSendData = 3, e_SendResultFailToReceiveData = 4, e_SendResultFailToRequest = 5, e_SendResultFailToGetData = 6, e_SendResultOutOfMemory = 7 } |
| 发送时间戳请求结果的枚举。 更多... | |
Public 成员函数 | |
| TimeStampServer (const TimeStampServer &other) | |
| 构造函数,使用另一个时间戳服务器对象。 更多... | |
| ~TimeStampServer () | |
| 析构函数。 | |
| String | GetTimeStampMessage () |
| 获取时间戳消息。 更多... | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | operator != (const TimeStampServer &other) const |
| 不相等操作符。 更多... | |
| TimeStampServer & | operator= (const TimeStampServer &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const TimeStampServer &other) const |
| 相等操作符。 更多... | |
| SendRequestResult | SendTimeStampRequest (const String &request) |
| 发送时间戳请求。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
此类表示时间戳服务器。它可以用于发送时间戳请求并获取消息。
发送时间戳请求结果的枚举。
此枚举的值应单独使用。
| foxit::pdf::TimeStampServer::TimeStampServer | ( | const TimeStampServer & | other | ) |
构造函数,使用另一个时间戳服务器对象。
| [in] | other | 另一个时间戳服务器对象。 |
| String foxit::pdf::TimeStampServer::GetTimeStampMessage | ( | ) |
| bool foxit::pdf::TimeStampServer::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当当前对象为空时,表示当前对象无用。
| bool foxit::pdf::TimeStampServer::operator != | ( | const TimeStampServer & | other | ) | const |
不相等操作符。
| [in] | other | 另一个时间戳服务器对象。此函数将检查当前对象是否与此对象不相等。 |
| TimeStampServer& foxit::pdf::TimeStampServer::operator= | ( | const TimeStampServer & | other | ) |
赋值操作符。
| [in] | other | 另一个时间戳服务器对象,其值将被赋给当前对象。 |
| bool foxit::pdf::TimeStampServer::operator== | ( | const TimeStampServer & | other | ) | const |
相等操作符。
| [in] | other | 另一个时间戳服务器对象。此函数将检查当前对象是否与此对象相等。 |
| SendRequestResult foxit::pdf::TimeStampServer::SendTimeStampRequest | ( | const String & | request | ) |
发送时间戳请求。
| [in] | request | 要发送的时间戳请求。不应为空字符串。 |