Class PdfEncryptionInfo
ชื่อพื้นที่: Aspose.Html.Rendering.Pdf.Encryption การประกอบ: Aspose.HTML.dll (25.4.0)
มีรายละเอียดสําหรับการเข้ารหัส PDF
[ComVisible(true)]
public class PdfEncryptionInfo
Inheritance
อนุญาโตตุลาการ
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PdfEncryptionInfo(ลวด, ลวด, PdfPermissions, PdfEncryptionAlgorithm)
เริ่มต้นตัวอย่างใหม่ของ Aspose.Html.Rendering.Pdf.Encryption.PdfEncryptionInfo class
public PdfEncryptionInfo(string userPassword, string ownerPassword, PdfPermissions permissions, PdfEncryptionAlgorithm encryptionAlgorithm)
Parameters
userPassword
string
รหัสผ่านผู้ใช้
ownerPassword
string
คู่มือของเจ้าของ
permissions
PdfPermissions
การอนุญาต
encryptionAlgorithm
PdfEncryptionAlgorithm
อัลgorithm การเข้ารหัส
Properties
EncryptionAlgorithm
รับหรือตั้งค่าโหมดการเข้ารหัส
public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; }
คุณสมบัติมูลค่า
OwnerPassword
รับหรือตั้งรหัสผ่านของเจ้าของ
public string OwnerPassword { get; set; }
คุณสมบัติมูลค่า
Remarks
เปิดเอกสารด้วยรหัสผ่านเจ้าของที่ถูกต้อง (คิดว่ามันไม่ได้เป็นเช่นเดียวกับรหัสผ่านของผู้ใช้) ช่วยให้เข้าถึงเอกสารเต็มรูปแบบ (เจ้าของ)การเข้าถึงไม่ จํากัด รวมถึงความสามารถในการเปลี่ยนรหัสผ่านของเอกสารและการอนุญาตการเข้าถึง
Permissions
ได้รับหรือตั้งค่าอนุญาต
public PdfPermissions Permissions { get; set; }
คุณสมบัติมูลค่า
UserPassword
รับหรือตั้งรหัสผ่านของผู้ใช้
public string UserPassword { get; set; }
คุณสมบัติมูลค่า
Remarks
เปิดเอกสารด้วยรหัสผ่านผู้ใช้ที่ถูกต้อง (หรือเปิดเอกสาร)ที่ไม่มีรหัสผ่านผู้ใช้) ช่วยให้การดําเนินการเพิ่มเติมทําตามอนุญาตการเข้าถึงของผู้ใช้ที่ระบุไว้ในเอกสารคําอธิบายการเข้ารหัส