C# Class PdfRpt.FluentInterface.EncryptedFileBuilder

Encryption Preferences Class.
Mostrar archivo Open project: VahidN/PdfReport Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
EncryptedFileBuilder ( ) : PdfRpt.Core.Contracts

ctor.

WithPassword ( string editPassword, string readPassword = "" ) : void

Using the AES algorithm to encrypt the pdf file.

WithPermissions ( PdfRpt.Core.Contracts.DocumentPermissions documentPermissions ) : void

Document Permissions.

WithPublicKey ( string pfxPassword, string pfxPath ) : void

Using a personal information exchange file to encrypt the pdf file.

Method Details

EncryptedFileBuilder() public method

ctor.
public EncryptedFileBuilder ( ) : PdfRpt.Core.Contracts
return PdfRpt.Core.Contracts

WithPassword() public method

Using the AES algorithm to encrypt the pdf file.
public WithPassword ( string editPassword, string readPassword = "" ) : void
editPassword string The owner password. It can't be null, otherwise these settings will be ignored.
readPassword string The user password. It can be null.
return void

WithPermissions() public method

Document Permissions.
public WithPermissions ( PdfRpt.Core.Contracts.DocumentPermissions documentPermissions ) : void
documentPermissions PdfRpt.Core.Contracts.DocumentPermissions Document Permissions.
return void

WithPublicKey() public method

Using a personal information exchange file to encrypt the pdf file.
public WithPublicKey ( string pfxPassword, string pfxPath ) : void
pfxPassword string Certificate file's password
pfxPath string Certificate file's path
return void