GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfEncryptionOptions Enum

    Namespace:
    GemBox.Pdf.Security
    Assembly:
    GemBox.Pdf.dll

    Represents options for PDF file password-based encryption.

    • C#
    • VB.NET
    [Flags]
    public enum PdfEncryptionOptions
    <Flags>
    Public Enum PdfEncryptionOptions

    Fields

    EncryptAll

    All content (strings and streams) in the document shall be encrypted.

    EncryptContent

    All content (strings and streams) shall be encrypted except embedded file streams (if EncryptEmbeddedFiles is not set) and document-level metadata stream (if EncryptMetadata is not set).

    EncryptEmbeddedFiles

    Embedded files shall be encrypted.

    EncryptMetadata

    Document-level metadata stream (see 14.3.2, "Metadata Streams") shall be encrypted.

    If EncryptMetadata is set, it is applicable only if EncryptStreams is also set. If EncryptMetadata is not set, it is applicable always.

    EncryptStreams

    All streams shall be encrypted except embedded file streams (if EncryptEmbeddedFiles is not set) and document-level metadata stream (if EncryptMetadata is not set).

    EncryptStrings

    All strings shall be encrypted.

    None

    No content shall be encrypted.

    See Also
    PDF Specification ISO 32000-1:2008, section '7.6.3 Standard Security Handler'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.