pdf

package
v1.118.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEncrypted

func IsEncrypted(documentData []byte) bool

IsEncrypted reports whether the PDF appears to use the standard encryption dictionary (e.g. password-protected). Encrypted PDFs reference an /Encrypt entry in the trailer dictionary.

func IsSigned

func IsSigned(documentData []byte) bool

func NewPdfFileValidator

func NewPdfFileValidator() *file_validator.Validator

Types

This section is empty.

Directories

Path Synopsis
Package attachments embeds files in a PDF as an incremental update: each goes in the catalog's embedded files and among the files associated with the document (/AF), where a reader lists it and a program finds it without reading the pages.
Package attachments embeds files in a PDF as an incremental update: each goes in the catalog's embedded files and among the files associated with the document (/AF), where a reader lists it and a program finds it without reading the pages.
Package file reads a PDF file through its cross-reference tables and appends incremental updates to it.
Package file reads a PDF file through its cross-reference tables and appends incremental updates to it.
Package object is the PDF object syntax (ISO 32000-2 §7.3): the values a PDF file is made of, read from and written to their textual form.
Package object is the PDF object syntax (ISO 32000-2 §7.3): the values a PDF file is made of, read from and written to their textual form.
Package pades seals a PDF with a PAdES baseline signature at level B-LTA: a CAdES signature with a signature timestamp, the validation data in a document security store, and a document timestamp over all of it.
Package pades seals a PDF with a PAdES baseline signature at level B-LTA: a CAdES signature with a signature timestamp, the validation data in a document security store, and a document timestamp over all of it.
Package pages counts a PDF's pages and appends another PDF's pages to it as an incremental update, so the first document's bytes stay exactly as they were.
Package pages counts a PDF's pages and appends another PDF's pages to it as an incremental update, so the first document's bytes stay exactly as they were.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL