Class EncryptionOptions

Class EncryptionOptions

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

Đại diện cho Tùy chọn Mã hóa cho plugin Aspose.Pdf.Plugins.Security.

public class EncryptionOptions : OrganizerBaseOptions, IPluginOptions

Kế thừa

objectOrganizerBaseOptionsEncryptionOptions

Triển khai

IPluginOptions

Các thành viên kế thừa

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()

Các hàm khởi tạo

EncryptionOptions(string, string, DocumentPrivilege, CryptoAlgorithm)

Khởi tạo một thể hiện mới của đối tượng Aspose.Pdf.Plugins.EncryptionOptions với các tùy chọn mặc định.

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

Tham số

ownerPassword string

Mật khẩu chủ sở hữu.

userPassword string

Mật khẩu người dùng.

documentPrivilege DocumentPrivilege

Quyền tài liệu.

cryptoAlgorithm CryptoAlgorithm

Thuật toán mã hóa.

Các thuộc tính

CryptoAlgorithm

Thuật toán mã hóa, xem Aspose.Pdf.Plugins.EncryptionOptions.CryptoAlgorithm để biết chi tiết.

public CryptoAlgorithm CryptoAlgorithm { get; set; }

Giá trị thuộc tính

CryptoAlgorithm

DocumentPrivilege

Quyền tài liệu, xem Aspose.Pdf.Permissions để biết chi tiết.

public DocumentPrivilege DocumentPrivilege { get; set; }

Giá trị thuộc tính

DocumentPrivilege

OwnerPassword

Mật khẩu chủ sở hữu.

public string OwnerPassword { get; set; }

Giá trị thuộc tính

string

UserPassword

Mật khẩu người dùng.

public string UserPassword { get; set; }

Giá trị thuộc tính

string

 Tiếng Việt