Class PdfEncryptionDetails
Namespace: Aspose.Page.XPS.Presentation.Pdf
Assembly: Aspose.Page.dll (25.1.2)
มีรายละเอียดสำหรับการเข้ารหัส pdf
public class PdfEncryptionDetails
การสืบทอด
สมาชิกที่สืบทอด
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
ตัวสร้าง
PdfEncryptionDetails(string, string, int, PdfEncryptionAlgorithm)
สร้างอินสแตนซ์ใหม่ของคลาส Aspose.Rendering.Pdf.PdfEncryptionDetailsCore
public PdfEncryptionDetails(string userPassword, string ownerPassword, int permissions, PdfEncryptionAlgorithm encryptionAlgorithm)
พารามิเตอร์
userPassword
string
รหัสผ่านของผู้ใช้
ownerPassword
string
รหัสผ่านของเจ้าของ
permissions
int
สิทธิ์การเข้าถึง
encryptionAlgorithm
PdfEncryptionAlgorithm
อัลกอริธึมการเข้ารหัส
คุณสมบัติ
EncryptionAlgorithm
รับหรือกำหนดโหมดการเข้ารหัส
public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; }
ค่าคุณสมบัติ
OwnerPassword
รับหรือกำหนดรหัสผ่านของเจ้าของ
public string OwnerPassword { get; set; }
ค่าคุณสมบัติ
หมายเหตุ
การเปิดเอกสารด้วยรหัสผ่านของเจ้าของที่ถูกต้อง (สมมติว่าไม่เหมือนกับรหัสผ่านของผู้ใช้) จะอนุญาตให้เข้าถึงเอกสารได้เต็มที่ (เจ้าของ) การเข้าถึงที่ไม่มีข้อจำกัดนี้รวมถึงความสามารถในการเปลี่ยนรหัสผ่านและสิทธิ์การเข้าถึงของเอกสาร
Permissions
รับหรือกำหนดสิทธิ์การเข้าถึง
public int Permissions { get; set; }
ค่าคุณสมบัติ
UserPassword
รับหรือกำหนดรหัสผ่านของผู้ใช้
public string UserPassword { get; set; }
ค่าคุณสมบัติ
หมายเหตุ
การเปิดเอกสารด้วยรหัสผ่านของผู้ใช้ที่ถูกต้อง (หรือการเปิดเอกสารที่ไม่มีรหัสผ่านของผู้ใช้) จะอนุญาตให้ดำเนินการเพิ่มเติมตามสิทธิ์การเข้าถึงของผู้ใช้ที่ระบุในพจนานุกรมการเข้ารหัสของเอกสาร