Class PdfEncryptionInfo
Tên không gian: Aspose.Html.Rendering.Pdf.Encryption Tổng hợp: Aspose.HTML.dll (25.4.0)
Nó chứa các chi tiết cho một mã hóa PDF.
[ComVisible(true)]
public class PdfEncryptionInfo
Inheritance
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
PdfEncryptionInfo(string, string, PdfPermissions, PdfEncryptionAlgorithm)
Bắt đầu một trường hợp mới của lớp Aspose.Html.Rendering.Pdf.Encryption.PdfEncryptionInfo.
public PdfEncryptionInfo(string userPassword, string ownerPassword, PdfPermissions permissions, PdfEncryptionAlgorithm encryptionAlgorithm)
Parameters
userPassword
string
mật khẩu người dùng.
ownerPassword
string
mật khẩu của chủ sở hữu
permissions
PdfPermissions
các giấy phép.
encryptionAlgorithm
PdfEncryptionAlgorithm
Các 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
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
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
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
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