CertificateEncryptionOptions

CertificateEncryptionOptions

概要

CertificateEncryptionOptions は .NET 用の Aspose.PDF FOSS のクラスです。

文書の暗号化に使用される公開証明書と、復号に必要なプライベートキー ストアをバンドルします。

このクラスは .NET プログラムで CertificateEncryptionOptions オブジェクトを操作するための 4 つのメソッドを提供します。 利用可能なメソッドは次のとおりです: CertificateEncryptionOptions。 すべての公開メンバーは、Aspose.PDF FOSS for .NET パッケージをインストールした後、任意の .NET アプリケーションからアクセス可能です。 プロパティ: PfxPasswordPfxPathPublicCertificateStoreLocationStoreName

プロパティ

NameTypeAccessDescription
PublicCertificateX509Certificate2Read文書を暗号化した公開鍵証明書(PDF 公開鍵セキュリティハンドラ辞書の Recipient エントリ)。
PfxPathstring?ReadPublicCertificate に一致する秘密鍵を保持する PFX/PKCS#12 ファイルへのパス。Windows 証明書ストアに秘密鍵がある場合は null。
PfxPasswordstring?ReadPfxPath の PFX ファイルのパスワード。ファイルがパスワードで保護されていない場合は null。
StoreNameStoreName?ReadPfxPath が指定されていない場合に、秘密鍵を含む Windows 証明書ストア。
StoreLocationStoreLocation?ReadWindows 証明書ストアの場所。

方法

SignatureDescription
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) を呼び出します。

参照

 日本語