C# Class PdfRpt.FluentInterface.EncryptedFileBuilder

Encryption Preferences Class.
Afficher le fichier Open project: VahidN/PdfReport Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

ctor.
public EncryptedFileBuilder ( ) : PdfRpt.Core.Contracts
Résultat PdfRpt.Core.Contracts

WithPassword() public méthode

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.
Résultat void

WithPermissions() public méthode

Document Permissions.
public WithPermissions ( PdfRpt.Core.Contracts.DocumentPermissions documentPermissions ) : void
documentPermissions PdfRpt.Core.Contracts.DocumentPermissions Document Permissions.
Résultat void

WithPublicKey() public méthode

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
Résultat void