Class PdfEncryptionInfo

Class PdfEncryptionInfo

名称: Aspose.Svg.Rendering.Pdf.Encryption 會議: Aspose.SVG.dll (25.5.0)

包含 PDF 加密的详细信息。

[ComVisible(true)]
public class PdfEncryptionInfo

Inheritance

object PdfEncryptionInfo

继承人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PdfEncryptionInfo(字符串,字符串, PdfPermissions, PdfEncryptionAlgorithm)

启动了 Aspose.Svg.Rendering.Pdf.Encryption。

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

财产价值

PdfEncryptionAlgorithm

OwnerPassword

接收或设置所有者密码。

public string OwnerPassword { get; set; }

财产价值

string

Remarks

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

Permissions

获得或设置许可证。

public PdfPermissions Permissions { get; set; }

财产价值

PdfPermissions

UserPassword

接收或设置用户密码。

public string UserPassword { get; set; }

财产价值

string

Remarks

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

 中文