Class PdfEncryptionDetails
ชื่อพื้นที่: Aspose.Tasks.Saving การประกอบ: Aspose.Tasks.dll (25.4.0)
มีรายละเอียดสําหรับการเข้ารหัส PDF
public class PdfEncryptionDetails
Inheritance
อนุญาโตตุลาการ
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PdfEncryptionDetails(รั้ว, รั้ว, PdfEncryptionAlgorithm)
เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Tasks.Saving.PdfEncryptionDetails
public PdfEncryptionDetails(string userPassword, string ownerPassword, PdfEncryptionAlgorithm encryptionAlgorithm)
Parameters
userPassword
string
รหัสผ่านผู้ใช้ที่อนุญาตให้เปิดเอกสารที่ปกป้อง
ownerPassword
string
รหัสผ่านเจ้าของที่อนุญาตให้เปิดเอกสารที่ปกป้อง
encryptionAlgorithm
PdfEncryptionAlgorithm
ตัวอย่าง Aspose.Tasks.Saving.PdfEncryptionAlgorithm ซึ่งแสดงให้เห็นถึงการเข้ารหัสอัลกอริทึม
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
เปิดเอกสารด้วยรหัสผ่านผู้ใช้ที่ถูกต้อง (หรือเปิดเอกสาร)ที่ไม่มีรหัสผ่านผู้ใช้) ช่วยให้การดําเนินการเพิ่มเติมทําตามอนุญาตการเข้าถึงของผู้ใช้ที่ระบุไว้ในเอกสารคําอธิบายการเข้ารหัส