C# Класс PdfRpt.FluentInterface.EncryptedFileBuilder

Encryption Preferences Class.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

EncryptedFileBuilder() публичный Метод

ctor.
public EncryptedFileBuilder ( ) : PdfRpt.Core.Contracts
Результат PdfRpt.Core.Contracts

WithPassword() публичный Метод

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.
Результат void

WithPermissions() публичный Метод

Document Permissions.
public WithPermissions ( PdfRpt.Core.Contracts.DocumentPermissions documentPermissions ) : void
documentPermissions PdfRpt.Core.Contracts.DocumentPermissions Document Permissions.
Результат void

WithPublicKey() публичный Метод

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
Результат void