pdf-lite - v1.0.1
    Preparing search index...

    Type Alias PdfEncryptionOptions

    Options for configuring PDF encryption. Includes encryption method, passwords, document ID, and permission settings.

    type PdfEncryptionOptions = {
        documentId?: PdfId | ByteArray | string;
        encryptMetadata?: boolean;
        method?: PdfEncryptionAlgorithmOptions;
        ownerPassword?: ByteArray | string;
        password?: ByteArray | string;
        permissions?: {
            all?: boolean;
            annotate?: boolean;
            assemble?: boolean;
            copy?: boolean;
            extract?: boolean;
            fill?: boolean;
            modify?: boolean;
            print?: boolean;
            printHighQuality?: boolean;
        };
        recipients?: PdfEncryptionRecipient[];
    }
    Index

    Properties

    documentId?: PdfId | ByteArray | string
    encryptMetadata?: boolean
    ownerPassword?: ByteArray | string
    password?: ByteArray | string
    permissions?: {
        all?: boolean;
        annotate?: boolean;
        assemble?: boolean;
        copy?: boolean;
        extract?: boolean;
        fill?: boolean;
        modify?: boolean;
        print?: boolean;
        printHighQuality?: boolean;
    }
    recipients?: PdfEncryptionRecipient[]