class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\SignatureDictionaryTable252\ContentsEntryTable 252, /Contents; PDF type: byte string; Required.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 252 · Entries in a signature dictionary
ISO 32000-1:2008, §12.8.1 · PDF page 476 ↗
/Contents byte string
(Required) The signature value. When ByteRange is present, the value shall be a hexadecimal string (see 7.3.4.3, “Hexadecimal Strings”) representing the value of the byte range digest. For public-key signatures, Contents should be either a DER-encoded PKCS#1 binary data object or a DER-encoded PKCS#7 binary data object. Space for the Contents value must be allocated before the message digest is computed. (See 7.3.4, “String Objects“)
Qualifier: Required
Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.
Construction
__construct()
public function __construct(PDF\Syntax\Object\StringType|PDF\Syntax\Object\IndirectReference $value)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |
Constants
| Name | PHP value | Origin |
|---|---|---|
KEY | | PDF\Specification\Dictionary\SignatureDictionaryTable252\ContentsEntry |
TABLE | | PDF\Specification\Dictionary\SignatureDictionaryTable252\ContentsEntry |
VARIABLE | | PDF\Specification\SchemaEntry |