Foxit PDF SDK

Public Member Functions | List of all members
foxit::pdf::TimeStampCallback Class Referenceabstract

## Public Member Functions
virtual String | GetTimeStampMessage ()=0
| A callback function used to get time stamp message. More...
virtual void | Release ()=0
| A callback function used to release current callback object itself. More...
virtual TimeStampServer::SendRequestResult | SendTimeStampRequest (const String &request)=0
| A callback function used to send time stamp request. More...

## Detailed Description

This class represents a callback object for interacting with timestamp servers. All the pure virtual functions in this class are used as callback functions and should be implemented by users.

## Member Function Documentation

## ◆ GetTimeStampMessage()

virtual String foxit::pdf::TimeStampCallback::GetTimeStampMessage | ( |  | ) |
| pure virtual

A callback function used to get time stamp message.

Returns
  Time stamp message.It can be an empty string.

## ◆ Release()

virtual void foxit::pdf::TimeStampCallback::Release | ( |  | ) |
| pure virtual

A callback function used to release current callback object itself.

Returns
  None.

## ◆ SendTimeStampRequest()

virtual TimeStampServer::SendRequestResult foxit::pdf::TimeStampCallback::SendTimeStampRequest | ( | const String & | request | ) |
| pure virtual

A callback function used to send time stamp request.

Parameters

  [in] | request | Time stamp request to be sent. It may be an empty string.

Returns
  Result value of the sending request process. Please refer to values starting from TimeStampServer::e_SendResultSuccess and this would be one of these values.