CertificateEncryptionOptions
概要
CertificateEncryptionOptions は .NET 用の Aspose.PDF FOSS のクラスです。
文書の暗号化に使用される公開証明書と、復号に必要なプライベートキー ストアをバンドルします。
このクラスは .NET プログラムで CertificateEncryptionOptions オブジェクトを操作するための 4 つのメソッドを提供します。
利用可能なメソッドは次のとおりです: CertificateEncryptionOptions。
すべての公開メンバーは、Aspose.PDF FOSS for .NET パッケージをインストールした後、任意の .NET アプリケーションからアクセス可能です。
プロパティ: PfxPassword、PfxPath、PublicCertificate、StoreLocation、StoreName。
プロパティ
| Name | Type | Access | Description |
|---|---|---|---|
PublicCertificate | X509Certificate2 | Read | 文書を暗号化した公開鍵証明書(PDF 公開鍵セキュリティハンドラ辞書の Recipient エントリ)。 |
PfxPath | string? | Read | PublicCertificate に一致する秘密鍵を保持する PFX/PKCS#12 ファイルへのパス。Windows 証明書ストアに秘密鍵がある場合は null。 |
PfxPassword | string? | Read | PfxPath の PFX ファイルのパスワード。ファイルがパスワードで保護されていない場合は null。 |
StoreName | StoreName? | Read | PfxPath が指定されていない場合に、秘密鍵を含む Windows 証明書ストア。 |
StoreLocation | StoreLocation? | Read | Windows 証明書ストアの場所。 |
方法
| Signature | Description |
|---|---|
CertificateEncryptionOptions(publicCertificate: X509Certificate2, pfxPath: string, pfxPassword: string) | この CertificateEncryptionOptions インスタンスで CertificateEncryptionOptions(publicCertificate, pfxPath, pfxPassword) を呼び出します。 |
CertificateEncryptionOptions(publicCertificate: X509Certificate2, storeName: StoreName, storeLocation: StoreLocation) | この CertificateEncryptionOptions インスタンスで CertificateEncryptionOptions(publicCertificate, storeName, storeLocation) を呼び出します。 |
CertificateEncryptionOptions(publicCertificatePath: string, pfxPath: string, pfxPassword: string) | この CertificateEncryptionOptions インスタンスで CertificateEncryptionOptions(publicCertificatePath, pfxPath, pfxPassword) を呼び出します。 |
CertificateEncryptionOptions(publicCertificatePath: string, storeName: StoreName, storeLocation: StoreLocation) | この CertificateEncryptionOptions インスタンスで CertificateEncryptionOptions(publicCertificatePath, storeName, storeLocation) を呼び出します。 |