> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PDFEncryptionInfo-Objekt (IPDFEncryptionInfo-Schnittstelle)

> PDFEncryptionInfo-Objekt (IPDFEncryptionInfo-Schnittstelle) in der ABBYY FineReader Engine API — Verschlüsselungsparameter für exportierte PDF-Dateien, festgelegt über die Eigenschaft EncryptionInfo von PDFExportFeatures.

Dieses Objekt bietet Zugriff auf die Verschlüsselungsparameter einer PDF-Datei. Diese Parameter können beim Export von erkanntem Text in das PDF-Format verwendet werden. Sie werden über die Eigenschaft EncryptionInfo des Objekts [PDFExportFeatures](/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures) festgelegt.

<Warning>
  Verschlüsselungsparameter werden bei PDF/A-Dateien nicht verwendet.
</Warning>

Mit dem Objekt PDFEncryptionInfo können Sie Folgendes tun:

* Besitzer- und Benutzerkennwörter festlegen;
* die Verschlüsselungsstufe festlegen;
* Folgendes aktivieren oder deaktivieren:
  * das Hinzufügen oder Ändern von Textanmerkungen und interaktiven Formularfeldern;
  * das Zusammenstellen des Dokuments: Seiten einfügen, drehen oder löschen sowie Navigationselemente wie Lesezeichen oder Miniaturansichten erstellen;
  * das Kopieren oder anderweitige Extrahieren von Text und Grafiken aus dem Dokument;
  * das Ausfüllen von Formularen (d. h. das Ausfüllen vorhandener interaktiver Formularfelder) und das Signieren des Dokuments (d. h. das Ausfüllen vorhandener Signaturfelder, einer Art interaktiver Formularfelder);
  * das Ändern des Dokumentinhalts;
  * das Drucken des Dokuments.

<div id="properties">
  ## Eigenschaften
</div>

<table>
  <thead>
    <tr>
      <th>
        <p>
          <strong>Name</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Type</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Description</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>
          <strong>Application</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/api-reference/engine-object-iengine-interface">
              Engine
            </a>
          </strong>

          ,{" "}

          <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">
            read-only
          </a>
        </p>
      </td>

      <td>
        <p>
          Returns the{" "}

          <strong>
            <a href="/de/fine-reader/engine/api-reference/engine-object-iengine-interface">
              Engine
            </a>
          </strong>

          {" "}

          object.
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Main settings</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="isencryptionrequested" />

          <strong>IsEncryptionRequested</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Specifies whether the PDF file must be encrypted.</p>

        <Warning>
          If this property is set to FALSE, the other properties will be
          ignored. This parameter can be set to TRUE only if the{" "}

          <a href="/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#pdfacompliancemode">
            IPDFExportParams::PDFAComplianceMode
          </a>

          {" "}

          is set to PCM\_None.
        </Warning>

        <p>This property is FALSE by default.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="encryptionalgorithm" />

          <strong>EncryptionAlgorithm</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/api-reference/enumerations/pdfencryptionalgorithmenum">
              PDFEncryptionAlgorithmEnum
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Gibt den PDF-Verschlüsselungsalgorithmus an. Beachten Sie, dass die meisten Verschlüsselungsalgorithmen Mindestanforderungen an die PDF-Version stellen (

          <strong>
            <a href="/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">
              IPDFExportFeatures::PDFVersion
            </a>
          </strong>

          ). Weitere Details entnehmen Sie der Beschreibung von{" "}

          <strong>
            <a href="/de/fine-reader/engine/api-reference/enumerations/pdfencryptionalgorithmenum">
              PDFEncryptionAlgorithmEnum
            </a>
          </strong>

          .
        </p>

        <p>This property is PDFEA\_RC4 by default.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="keylength" />

          <strong>KeyLength</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/api-reference/enumerations/pdfkeylengthenum">
              PDFKeyLengthEnum
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Sets the encryption key length for the RC4 algorithm. This property is
          used only when the <strong>EncryptionAlgorithm</strong> property is
          PDFEA\_RC4 (default), othersise it is ignored.
        </p>

        <Note>
          Keys with length greater than 40 bit require PDF version ({" "}

          <a href="/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">
            IPDFExportFeatures::PDFVersion
          </a>

          {" "}

          ) at least 1.4.
        </Note>

        <p>This property is PDFKL\_40Bit by default.</p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Passwords</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="ownerpassword" />

          <strong>OwnerPassword</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              BSTR
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Stores owner password. Opening the document with the correct owner
          password (assuming it is not the same as the user password) allows
          full (owner) access to the document. This unlimited access includes
          the ability to change the document’s passwords and access permissions.
        </p>

        <p>The default value is an empty string.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="userpassword" />

          <strong>UserPassword</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              BSTR
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Stores the user password. Opening the document with the correct user
          password (or opening a document that does not have a user password)
          allows additional operations to be performed according to the user
          access permissions specified in the document’s encryption dictionary.
        </p>

        <p>The default value is an empty string.</p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Permissions</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="permissionaddannotations" />

          <strong>PermissionAddAnnotations</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Enables or disables modifying text annotations, filling out
          interactive form fields, and signing the document (which amounts to
          filling out existing signature fields, a type of interactive form
          field); together with the <strong>PermissionModifyContent</strong>{" "}
          property, also allows adding new text annotations and form fields.
        </p>

        <p>The default value is FALSE.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="permissionassembledoc" />

          <strong>PermissionAssembleDoc</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Enables or disables assembling the document: inserting, rotating,
          das Löschen von Seiten und das Erstellen von Navigationselementen wie Lesezeichen und
          Miniaturansichten.
        </p>

        <p>
          Diese Eigenschaft wird in PDF-Version 1.3 ignoriert (siehe{" "}

          <strong>
            <a href="/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">
              IPDFExportFeatures::PDFVersion
            </a>
          </strong>

          ).
        </p>

        <p>Der Standardwert ist FALSE.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="permissionextracttextandgraphics" />

          <strong>PermissionExtractTextAndGraphics</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Aktiviert oder deaktiviert das Kopieren und anderweitige Extrahieren von Text und Grafiken
          aus dem Dokument. Das Extrahieren von Text und Grafiken zum Zweck der
          Barrierefreiheit für Benutzer mit Behinderungen ist jedoch unabhängig von diesem Eigenschaftswert weiterhin möglich.
        </p>

        <p>Der Standardwert ist FALSE.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="permissionextracttextandgraphicsext" />

          <strong>PermissionExtractTextAndGraphicsExt</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Aktiviert oder deaktiviert das Extrahieren von Text und Grafiken (um sie
          für Benutzer mit Behinderungen oder für andere Zwecke zugänglich zu machen).
        </p>

        <p>
          Diese Eigenschaft wird in PDF-Version 1.3 ignoriert (siehe{" "}

          <strong>
            <a href="/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">
              IPDFExportFeatures::PDFVersion
            </a>
          </strong>

          ).
        </p>

        <p>Der Standardwert ist FALSE.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="permissionfillformfields" />

          <strong>PermissionFillFormFields</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Aktiviert oder deaktiviert das Ausfüllen vorhandener interaktiver Formularfelder und
          das Unterzeichnen des Dokuments (was dem Ausfüllen vorhandener Signaturfelder entspricht,
          einer Art von interaktivem Formularfeld).
        </p>

        <p>
          Diese Eigenschaft wird in PDF-Version 1.3 ignoriert (siehe{" "}

          <strong>
            <a href="/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">
              IPDFExportFeatures::PDFVersion
            </a>
          </strong>

          ).
        </p>

        <p>Der Standardwert ist FALSE.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="permissionmodifycontent" />

          <strong>PermissionModifyContent</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Aktiviert oder deaktiviert das Ändern des Dokumentinhalts.</p>
        <p>Der Standardwert ist FALSE.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="permissionprint" />

          <strong>PermissionPrint</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Aktiviert oder deaktiviert das Drucken des Dokuments.</p>
        <p>Der Standardwert ist FALSE.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="permissionprintext" />

          <strong>PermissionPrintExt</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Aktiviert oder deaktiviert das Drucken in eine Darstellung, aus der eine originalgetreue
          digitale Kopie des PDF-Inhalts erstellt werden könnte. Das Deaktivieren dieser
          Druckoption kann zu einer Verschlechterung der Ausgabequalität führen (in Acrobat
          als "Als Bild drucken" implementiert).
        </p>

        <p>Der Wert dieser Eigenschaft wird ignoriert, wenn:</p>

        <ul>
          <li>
            die Eigenschaft <strong>PermissionPrint</strong> auf FALSE gesetzt ist.
          </li>

          <li>
            die PDF-Version 1.3 ist (siehe{" "}

            <strong>
              <a href="/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">
                IPDFExportFeatures::PDFVersion
              </a>
            </strong>

            ).
          </li>
        </ul>

        <p>Der Standardwert ist FALSE.</p>
      </td>
    </tr>
  </tbody>
</table>

<div id="related-objects">
  ## Verwandte Objekte
</div>

<img src="https://mintcdn.com/abbyy/i-EfCQVmseNiPQcp/images/fine-reader/engine/pdfencryptioninfo.gif?s=17686ce02a5e31aeb6ea8723b53430e2" alt="PDFEncryptionInfo" width="161" height="54" data-path="images/fine-reader/engine/pdfencryptioninfo.gif" />[](/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#encryptioninfo)[](/de/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures)

[Objektdiagramm](/de/fine-reader/engine/api-reference/object-diagram)

<div id="samples">
  ## Beispiele
</div>

Das Objekt wird in den folgenden Codebeispielen verwendet: [CommandLineInterface](/de/fine-reader/engine/guided-tour/samples#commandlineinterface) (Windows und Linux)

<div id="see-also">
  ## Siehe auch
</div>

[Exportparameter optimieren](/de/fine-reader/engine/guided-tour/advanced-techniques/tuning-export-parameters)

[Arbeiten mit Profilen](/de/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles)

[Arbeiten mit Eigenschaften](/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
