API Reference
PdfStandardEncryptionOptions
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
- Property PdfOptions.Encryption
- Method PdfStandardEncryptionOptions.Clone
Accepted by parameters
- Method PdfDocument.Encrypt
- Method PdfDocument.Encryption
- Method PdfDocument.Reencrypt
- Method PdfDocument.TryEncrypt
- Method PdfDocument.TryReencrypt
- Method PdfOptions.SetEncryption
Constructors
public PdfStandardEncryptionOptions(String userPassword) #Creates Standard security options using the supplied document-open password.
Parameters
- userPassword System.String
Methods
public PdfStandardEncryptionOptions Clone() #PdfStandardEncryptionOptionsCreates a deep copy of the encryption options.
Inherited Methods
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.
-4