Request

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.

Namespace: Com\Tecnick\Pdf\Sign\Timestamp

final class Request

Source: src/Timestamp/Request.php: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.

Properties

$der

public $der

Source: src/Timestamp/Request.php:48

$hashOid

public $hashOid

Source: src/Timestamp/Request.php:50

$imprint

public $imprint

Source: src/Timestamp/Request.php:49

$nonce

public $nonce = ''

Source: src/Timestamp/Request.php:51

$policyOid

public $policyOid = ''

Source: src/Timestamp/Request.php:52

Methods

__construct()

public __construct(
    string $der,
    string $imprint,
    string $hashOid,
    string $nonce = '',
    string $policyOid = ''
)

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.

Source: src/Timestamp/Request.php:47