Class PdfEncryptionDetails

Class PdfEncryptionDetails

名称: Aspose.Tasks.Saving 集合: Aspose.Tasks.dll (25.4.0)

包含 PDF 加密的详细信息。

public class PdfEncryptionDetails

Inheritance

object PdfEncryptionDetails

继承人

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

财产价值

PdfEncryptionAlgorithm

OwnerPassword

接收或设置所有者密码。

public string OwnerPassword { get; set; }

财产价值

string

Remarks

打开文件与正确的所有者密码(假设它不是与用户密码相同),允许所有者(所有者)访问该文件。无限访问包括更改文档的密码的能力和获取许可。

Permissions

获得或设置许可证。

public PdfPermissions Permissions { get; set; }

财产价值

PdfPermissions

UserPassword

接收或设置用户密码。

public string UserPassword { get; set; }

财产价值

string

Remarks

使用正确的用户密码打开文件(或打开文件)它没有用户密码)允许额外的操作按照本文所规定的用户访问许可。加密词典

 中文