DocTimeStamp

Emits a document timestamp value object (/Type /DocTimeStamp, /SubFilter /ETSI.RFC3161) whose /Contents is a bare RFC 3161 timestamp token. It is added in an incremental update to reach PAdES B-LTA. It shares the /ByteRange and /Contents placeholders with the signature value object so the host's signing pass locates them the same way for either object type.

Namespace: Com\Tecnick\Pdf\Sign\Output

Final: Yes

File: DocTimeStamp.php line 40

Emits a document timestamp value object (/Type /DocTimeStamp, /SubFilter /ETSI.RFC3161) whose /Contents is a bare RFC 3161 timestamp token. It is added in an incremental update to reach PAdES B-LTA. It shares the /ByteRange and /Contents placeholders with the signature value object so the host’s signing pass locates them the same way for either object type.

Tags

Constants

SUB_FILTER

File: DocTimeStamp.php line 45

public mixed SUB_FILTER = 'ETSI.RFC3161'

Methods

valueObject()

File: DocTimeStamp.php line 56

public valueObject(int $objectId[, int $contentsLength = Signature::DEFAULT_CONTENTS_LENGTH ]) : string

Parameters

  • $objectId : int: Object number for the value object.
  • $contentsLength : int = Signature::DEFAULT_CONTENTS_LENGTH: Placeholder length reserved for the token, in hex digits; must be even and positive.

Tags

  • throws: Exception If the object number or the placeholder length is invalid.

Return values

string