CertificateEncryptionOptions
Overview
CertificateEncryptionOptions 是一个类在Aspose.PDF FOSS的.NET中.
包装用于加密文件的公开证书和解码所需私钥存储.
本类提供了4种方法,用于在NET程序中与CertificateEncryptionOptions对象工作. 有的方法包括: CertificateEncryptionOptions. 所有公众成员在安装了Aspose.PDF FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: PfxPassword, PfxPath, PublicCertificate, StoreLocation, StoreName.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PublicCertificate | X509Certificate2 | Read | 公钥证书加密了文档 (PDF公钥安全处理器词典的收件人输入). |
PfxPath | string? | Read | 路径到一个 PFX/PKCS#12文件中包含与 PublicCertificate 相匹配的私钥,或者在 Windows 证书存储器中的私密键为 null. |
PfxPassword | string? | Read | 在 PfxPath 处的 PFX文件密码,或者当文件没有密碼保护时为 null. |
StoreName | StoreName? | Read | 当没有提供 PfxPath 时,存储包含私钥的 Windows 证书. |
StoreLocation | StoreLocation? | Read | 文件的位置. |
Methods
| Signature | Description |
|---|---|
CertificateEncryptionOptions(publicCertificate: X509Certificate2, pfxPath: string, pfxPassword: string) | 在这个 CertificateEncryptionOptions 实例中调用CertificateEncryptionOptions (publicCertificate, pfxPath,pfxPassword). |
CertificateEncryptionOptions(publicCertificate: X509Certificate2, storeName: StoreName, storeLocation: StoreLocation) | 在这个 CertificateEncryptionOptions 实例中调用CertificateEncryptionOptions (公开证书,商店名称,公司位置). |
CertificateEncryptionOptions(publicCertificatePath: string, pfxPath: string, pfxPassword: string) | 在这个 CertificateEncryptionOptions 实例中调用CertificateEncryptionOptions (publicCertificatePath, pfxPth,pfxPassword). |
CertificateEncryptionOptions(publicCertificatePath: string, storeName: StoreName, storeLocation: StoreLocation) | 在这个 CertificateEncryptionOptions 实例中调用CertificateEncryptionOptions (公开证书路径,存储名字,仓库位置). |