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.
public PdfEncryptionInfo(string userPassword, string ownerPassword, PdfPermissions permissions, PdfEncryptionAlgorithm encryptionAlgorithm)
Parameters
userPassword
string
كلمة المرور المستخدم.
ownerPassword
string
كلمة المرور المالك
permissions
PdfPermissions
تلك التراخيص .
encryptionAlgorithm
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
فتح المستند مع كلمة المرور الصحيحة للمستخدم (أو فتح المستندالذي لا يحتوي على كلمة مرور مستخدم) يسمح بعمليات إضافيةيتم تنفيذها وفقًا لترخيصات الوصول للمستخدم المحددة في الوثيقةقاموس التشفير