Class PdfEncryptionDetails

Class PdfEncryptionDetails

Tên không gian: Aspose.Tasks.Saving Tổng hợp: Aspose.Tasks.dll (25.4.0)

Nó chứa chi tiết cho một mã hóa PDF.

public class PdfEncryptionDetails

Inheritance

object PdfEncryptionDetails

Thành viên thừa kế

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PdfEncryptionDetails(string, string, PdfEncryptionAlgorithm)

Bắt đầu một trường hợp mới của lớp Aspose.Tasks.Saving.PdfEncryptionDetails.

public PdfEncryptionDetails(string userPassword, string ownerPassword, PdfEncryptionAlgorithm encryptionAlgorithm)

Parameters

userPassword string

mật khẩu người dùng cho phép mở các tài liệu được bảo vệ.

ownerPassword string

Mã mật khẩu cho phép mở các tài liệu được bảo vệ.

encryptionAlgorithm PdfEncryptionAlgorithm

Các Aspose.Tasks.Saving.PdfEncryptionAlgorithm ví dụ cho thấy thuật toán mã hóa.

Properties

EncryptionAlgorithm

Nhận hoặc đặt chế độ mã hóa.

public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; }

Giá trị bất động sản

PdfEncryptionAlgorithm

OwnerPassword

Nhận hoặc đặt mật khẩu chủ sở hữu.

public string OwnerPassword { get; set; }

Giá trị bất động sản

string

Remarks

Mở tài liệu với mật khẩu chủ sở hữu chính xác (nếu nó không phải làtương tự như mật khẩu người dùng) cho phép truy cập đầy đủ (người sở hữu) vào tài liệu.truy cập không giới hạn bao gồm khả năng thay đổi mật khẩu của tài liệu vàGiấy phép truy cập

Permissions

Nhận hoặc đặt các giấy phép.

public PdfPermissions Permissions { get; set; }

Giá trị bất động sản

PdfPermissions

UserPassword

Nhận hoặc đặt mật khẩu người dùng.

public string UserPassword { get; set; }

Giá trị bất động sản

string

Remarks

Mở tài liệu với mật khẩu người dùng chính xác (hoặc mở tài liệu)không có mật khẩu người dùng) cho phép các hoạt động bổ sungđược thực hiện theo quyền truy cập của người dùng được xác định trong tài liệuTừ điển mã hóa

 Tiếng Việt