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
PDF_TYPE
public
mixed
PDF_TYPE
= 'DocTimeStamp'
Properties
$byteRange
public
PdfArray|null
$byteRange
= null
$cert
public
PdfArray|null
$cert
= null
$changes
public
PdfArray|null
$changes
= null
$contactInfo
public
PdfString|null
$contactInfo
= null
$contents
public
PdfString
$contents
$filter
public
PdfName
$filter
$generationNumber
public
int
$generationNumber
= 0
$location
public
PdfString|null
$location
= null
$m
public
PdfString|null
$m
= null
$name
public
PdfString|null
$name
= null
$objectNumber
public
int
$objectNumber
= 0
$propAuthTime
public
int|null
$propAuthTime
= null
$propAuthType
public
PdfName|null
$propAuthType
= null
$propBuild
public
PdfDictionary|null
$propBuild
= null
$r
public
int|null
$r
= null
$reason
public
PdfString|null
$reason
= null
$reference
public
PdfArray|null
$reference
= null
$subFilter
public
PdfName|null
$subFilter
= null
$v
public
int|null
$v
= null
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
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string