phpdftk API Documentation

DocTimeStamp extends SignatureValue
in package

Document-level timestamp signature (/Type /DocTimeStamp) — ISO 32000-2 §12.8.5 / PAdES Part 4.

Wraps an RFC 3161 timestamp token (produced by a Time-Stamping Authority) in the same byte-range + /Contents placeholder structure as a regular signature. /SubFilter defaults to ETSI.RFC3161 and /Type is /DocTimeStamp rather than /Sig.

Structurally identical to SignatureValue, so all byte-range and /Contents placeholder handling in PdfWriter works unchanged.

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_6

Table of Contents

Constants

PDF_TYPE  = 'DocTimeStamp'

Properties

$byteRange  : PdfArray|null
$cert  : PdfArray|null
$changes  : PdfArray|null
$contactInfo  : PdfString|null
$contents  : PdfString
$filter  : PdfName
$generationNumber  : int
$location  : PdfString|null
$m  : PdfString|null
$name  : PdfString|null
$objectNumber  : int
$propAuthTime  : int|null
$propAuthType  : PdfName|null
$propBuild  : PdfDictionary|null
$r  : int|null
$reason  : PdfString|null
$reference  : PdfArray|null
$subFilter  : PdfName|null
$v  : int|null

Methods

__construct()  : mixed
toIndirectObject()  : string
Wrap the object in an indirect object structure: X Y obj ... endobj
toPdf()  : string
Serialize the object's dictionary/value to PDF syntax.

Constants

Properties

$generationNumber

public int $generationNumber = 0

Methods

__construct()

public __construct([string $filter = 'Adobe.PPKLite' ][, string|null $subFilter = 'ETSI.RFC3161' ][, PdfString|null $contents = null ]) : mixed
Parameters
$filter : string = 'Adobe.PPKLite'
$subFilter : string|null = 'ETSI.RFC3161'
$contents : PdfString|null = null

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

        
On this page

Search results