SetaPDF_Signer_Tsp_Response Class representing a Timestamp Response.

File: /SetaPDF v2/Signer/Tsp/Response.php

Class hierarchy

Summary

Constants

STATUS_GRANTED

Status constant.

STATUS_GRANTED_WITH_MODS

Status constant.

STATUS_REJECTION

Status constant.

STATUS_REVOCATION_NOTIFICATION

Status constant.

STATUS_REVOCATION_WARNING

Status constant.

STATUS_WAITING

Status constant.


Properties

$_message

$_token

The timestamp token instance.


Methods

__construct()

The constructor.

Parameters
$response : SetaPDF_Signer_Asn1_Element|string
 
Exceptions

Throws SetaPDF_Signer_Asn1_Exception

Throws SetaPDF_Signer_Exception

getAsn1()

Get the ASN.1 instance of the timestamp response.

getStatus()

Get the status of the timestamp response.

getToken()

Get the timestamp token of the response.