Table of contents
Namespace: Com\Tecnick\Pdf\Sign\Timestamp
Read only: Yes Final: Yes
File: Request.php line 36
A TimeStampReq together with the message imprint and nonce it carries, which RFC 3161 section 2.4.2 requires the requester to check against the returned token.
Tags
- since: 2026-08-24
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf-sign
Properties
$der
File: Request.php line 48
public string $der
$hashOid
File: Request.php line 50
public string $hashOid
$imprint
File: Request.php line 49
public string $imprint
$nonce
File: Request.php line 51
public string $nonce = ''
$policyOid
File: Request.php line 52
public string $policyOid = ''
Methods
__construct()
File: Request.php line 47
public __construct(string $der, string $imprint, string $hashOid[, string $nonce = '' ][, string $policyOid = '' ]) : mixed
Parameters
- $der : string: DER-encoded TimeStampReq, as sent to the TSA.
- $imprint : string: Raw digest of the timestamped bytes.
- $hashOid : string: OID of the digest algorithm of $imprint.
- $nonce : string = ‘’: DER INTEGER of the nonce, or ’’ when none was sent.
- $policyOid : string = ‘’: Requested TSA policy OID, or ’’ when none was requested. RFC 3161 section 2.4.2 requires a token to be issued under the policy the request named.