Class PdfEncryptionInfo
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
使用正确的用户密码打开文件(或打开文件)它没有用户密码)允许额外的操作按照本文所规定的用户访问许可。加密词典