Documentation
¶
Overview ¶
Package protection contains all protection types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encryption ¶
type Encryption byte
Encryption selects the PDF standard security handler encryption algorithm.
const ( // RC4128 keeps the legacy RC4 protection behavior and remains the default // for compatibility until a future major release changes it. RC4128 Encryption = iota // AES128 selects AESV2, the PDF standard security handler revision 4 // algorithm using AES-128-CBC for strings and streams. AES128 )
type Type ¶
type Type byte
Type is a representation of a protection type.
const ( // None represents no protection. None Type = 0 // Print represents a print protection. Print Type = 4 // Modify represents modification protection. Modify Type = 8 // Copy represents copy protection. Copy Type = 16 // AnnotForms represents annotation and form protection. AnnotForms Type = 32 )
Click to show internal directories.
Click to hide internal directories.