class final Core · roukmoute/pdf 0.7.1
PDF\Specification\Adobe\Dictionary\EncryptionDictionaryTable3_18\VEntryAdobe table 3.18, /V; PDF type: number; Optional but strongly recommended.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the Adobe supplement
Table 3.18 · Entries common to all encryption dictionaries
PDF 1.7 · Adobe ExtensionLevel 3 · §3.5 · PDF page 14 ↗
/V number
(Optional but strongly recommended) A code specifying the algorithm to be used in encrypting and decrypting the document: 0, An algorithm that is undocumented and no longer supported, and whose use is strongly discouraged. Old files may use this value but no new files should be written using 0. 1, Algorithm 3.1 on page 119, with an encryption key length of 40 bits; see below. 2, (PDF 1.4) Algorithm 3.1, but permitting encryption key lengths greater than 40 bits. 3, (PDF 1.4) An unpublished algorithm that permits encryption key lengths ranging from 40 to 128 bits; see implementation note 22 in Appendix H. 4, (PDF 1.5) The security handler defines the use of encryption and decryption in the document, using the rules specified by the CF, StmF, and StrF entries using algorithm 3.1 with a key length of 128 bits. 5, (ExtensionLevel 3) The security handler defines the use of encryption and decryption in the document, using the rules specified by the CF, StmF, and StrF entries using algorithm 3.1a with a key length of 256 bits. The default value if this entry is omitted is 0, but a value of 1 or greater is strongly recommended. (See implementation note 23 in Appendix H.)
Qualifier: Optional but strongly recommended
Each entry preserves its ISO or Adobe source. Related rules and mechanisms are described in supplement coverage.
Construction
__construct()
public function __construct(PDF\Syntax\Object\NumericType|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\Adobe\Dictionary\EncryptionDictionaryTable3_18\VEntry |
TABLE | | PDF\Specification\Adobe\Dictionary\EncryptionDictionaryTable3_18\VEntry |
VARIABLE | | PDF\Specification\SchemaEntry |