PdfEncryptionOptions(String?, String?) Constructor

Definition

Namespace Broadside
Assembly Broadside.dll

Initializes a new instance of the PdfEncryptionOptions class.

public PdfEncryptionOptions(string? userPassword, string? ownerPassword)

Parameters

userPassword
String

The password that opens the document with Permissions; null or empty opens it without a password.

ownerPassword
String

The password that opens the document with every permission; null or empty for the user password.

Remarks

ISO 32000-2 §7.6.4.1, §7.6.4.4.2 (Algorithm 3 step a).