Foxit PDF SDK

Instance Methods | List of all members
FSTimeStampServer Class Reference
Inheritance diagram for FSTimeStampServer:

## Instance Methods
(NSData *) | - getTimeStampMessage
| Get time stamp message. More...
(id) | - initWithOther:
| Constructor, with another time stamp server object. More...
(BOOL) | - isEmpty
| Check whether current object is empty or not. More...
(FSTimeStampServerSendRequestResult) | - sendTimeStampRequest:
| Send time stamp request. More...

## Detailed Description

This class represents time stamp server. It can be used to send time stamp request and then get the message.

## Method Documentation

## ◆ getTimeStampMessage()

- (NSData *) getTimeStampMessage |  |  |

Get time stamp message.

This function is to get the time stamp message after function FSTimeStampServer::sendTimeStampRequest: runs successfully.

Returns
  Time stamp message.

## ◆ initWithOther:()

- (id) initWithOther: |  | (FSTimeStampServer*) | other |

Constructor, with another time stamp server object.

Parameters

  [in] | other | Another time stamp server object.

## ◆ isEmpty()

- (BOOL) isEmpty |  |  |

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
  YES means current object is empty, while NO means not.

## ◆ sendTimeStampRequest:()

- (FSTimeStampServerSendRequestResult) sendTimeStampRequest: |  | (NSData *) | request |

Send time stamp request.

Parameters

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

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