• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PdfEncryptionDetails

Password and permission settings used to encrypt an exported PDF.

Inheritance
object
PdfEncryptionDetails
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document.Export.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfEncryptionDetails

Constructors

PdfEncryptionDetails(string, string)

Initializes PDF encryption settings.

Declaration
public PdfEncryptionDetails(string userPassword, string ownerPassword = null)
Parameters
Type Name Description
string userPassword

The password required to open the PDF.

string ownerPassword

The password that grants full access.

Properties

EncryptionLevel

Gets or sets the encryption level. The default is AES-256.

Declaration
public PdfEncryptionLevel EncryptionLevel { get; set; }
Property Value
Type Description
PdfEncryptionLevel

OwnerPassword

Gets or sets the owner password that grants full access.

Declaration
public string OwnerPassword { get; set; }
Property Value
Type Description
string

Permissions

Gets or sets the permissions granted with the user password.

Declaration
public PdfUserAccessPermissions Permissions { get; set; }
Property Value
Type Description
PdfUserAccessPermissions

UserPassword

Gets or sets the password required to open the PDF.

Declaration
public string UserPassword { get; set; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX