API Reference

Class

PdfStandardEncryptionOptions

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Options for generated PDF Standard password security.

Inheritance

  • Object
  • PdfStandardEncryptionOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

public PdfStandardEncryptionOptions(String userPassword) #

Creates Standard security options using the supplied document-open password.

Parameters

userPassword System.String requiredposition: 0

Methods

public PdfStandardEncryptionOptions Clone() #
Returns: PdfStandardEncryptionOptions

Creates a deep copy of the encryption options.

Properties

public String UserPassword { get; set; } #

Password required to open the generated PDF.

public String OwnerPassword { get; set; } #

Optional owner password. When omitted, the user password is reused as the owner password.

public PdfStandardEncryptionAlgorithm Algorithm { get; set; } #

Encryption algorithm. AES-256 revision 6 is the default; RC4 requires explicit legacy selection.

public Boolean EncryptMetadata { get; set; } #

Whether document metadata streams are encrypted. Defaults to true.

public Int32 Permissions { get; set; } #

Raw PDF Standard security permission bit mask. Defaults to allowing all standard operations.

public PdfStandardPermissions AllowedPermissions { get; set; } #

Typed view over the Standard security permission mask.

Fields

public const Int32 AllowAllPermissions #

PDF permission bit mask allowing all standard operations.

Value: -4