Class PdfEncryptionDetails

Class PdfEncryptionDetails

Namespace: Aspose.Page.XPS.Presentation.Pdf
Assembly: Aspose.Page.dll (25.1.2)

يحتوي على تفاصيل تشفير PDF.

public class PdfEncryptionDetails

الوراثة

objectPdfEncryptionDetails

الأعضاء الموروثون

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; }

قيمة الخاصية

PdfEncryptionAlgorithm

OwnerPassword

يحصل أو يحدد كلمة مرور المالك.

public string OwnerPassword { get; set; }

قيمة الخاصية

string

ملاحظات

فتح المستند بكلمة مرور المالك الصحيحة (بافتراض أنها ليست هي نفسها كلمة مرور المستخدم) يسمح بالوصول الكامل (للمالك) إلى المستند. يشمل هذا الوصول غير المحدود القدرة على تغيير كلمات مرور المستند وأذونات الوصول.

Permissions

يحصل أو يحدد الأذونات.

public int Permissions { get; set; }

قيمة الخاصية

int

UserPassword

يحصل أو يحدد كلمة مرور المستخدم.

public string UserPassword { get; set; }

قيمة الخاصية

string

ملاحظات

فتح المستند بكلمة مرور المستخدم الصحيحة (أو فتح مستند لا يحتوي على كلمة مرور مستخدم) يسمح بإجراء عمليات إضافية وفقًا لأذونات الوصول الخاصة بالمستخدم المحددة في قاموس تشفير المستند.

 عربي