Foxit PDF SDK

Public Member Functions | List of all members
com.foxit.sdk.pdf.TimeStampCallback Class Reference

## Public Member Functions
byte[] | getTimeStampMessage ()
| A callback function used to get time stamp message. More...
void | release ()
| A callback function used to release current callback object itself. More...
int | sendTimeStampRequest (byte[] request)
| 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()

byte[] com.foxit.sdk.pdf.TimeStampCallback.getTimeStampMessage | ( |  | ) |

A callback function used to get time stamp message.

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

## ◆ release()

void com.foxit.sdk.pdf.TimeStampCallback.release | ( |  | ) |

A callback function used to release current callback object itself.

Returns
  None.

## ◆ sendTimeStampRequest()

int com.foxit.sdk.pdf.TimeStampCallback.sendTimeStampRequest | ( | byte[] | request | ) |

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 com.foxit.sdk.pdf.TimeStampServer.e_SendResultSuccess and this would be one of these values.