Skip to content

permissions: calculation #473

@ihipop

Description

@ihipop
  • Your issue is based on the latest commit
    YES
  • State your OS and OS version
    Linux

// Supplied user access permissions, see Table 22.
Permissions int16

I can only find 3 permission listed here

PermissionsAll int16 = -1 // 0xFFFF
// PermissionsPrint disables all user access permissions bits except for printing.
PermissionsPrint int16 = -1849 // 0xF8C7
// PermissionsNone disables all user access permissions bits.
PermissionsNone int16 = -3901 // 0xF0C3

But there is more permission bit listed here

https://pdfcpu.io/encrypt/perm_list.html#examples

How can I calc them myself ?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions