Class EncryptionOptions

Class EncryptionOptions

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Представляет параметры шифрования для плагина Aspose.Pdf.Plugins.Security.

public class EncryptionOptions : OrganizerBaseOptions, IPluginOptions

Наследование

objectOrganizerBaseOptionsEncryptionOptions

Реализует

IPluginOptions

Унаследованные члены

OrganizerBaseOptions.AddInput(IDataSource), OrganizerBaseOptions.AddOutput(IDataSource), OrganizerBaseOptions.Inputs, OrganizerBaseOptions.Outputs, OrganizerBaseOptions.CloseInputStreams, OrganizerBaseOptions.CloseOutputStreams, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Конструкторы

EncryptionOptions(string, string, DocumentPrivilege, CryptoAlgorithm)

Инициализирует новый экземпляр объекта Aspose.Pdf.Plugins.EncryptionOptions с параметрами по умолчанию.

public EncryptionOptions(string ownerPassword, string userPassword, DocumentPrivilege documentPrivilege, CryptoAlgorithm cryptoAlgorithm = CryptoAlgorithm.AESx256)

Параметры

ownerPassword string

Пароль владельца.

userPassword string

Пароль пользователя.

documentPrivilege DocumentPrivilege

Права документа.

cryptoAlgorithm CryptoAlgorithm

Криптографический алгоритм.

Свойства

CryptoAlgorithm

Криптографический алгоритм, см. Aspose.Pdf.Plugins.EncryptionOptions.CryptoAlgorithm для подробностей.

public CryptoAlgorithm CryptoAlgorithm { get; set; }

Значение свойства

CryptoAlgorithm

DocumentPrivilege

Права документа, см. Aspose.Pdf.Permissions для подробностей.

public DocumentPrivilege DocumentPrivilege { get; set; }

Значение свойства

DocumentPrivilege

OwnerPassword

Пароль владельца.

public string OwnerPassword { get; set; }

Значение свойства

string

UserPassword

Пароль пользователя.

public string UserPassword { get; set; }

Значение свойства

string

 Русский