ISignerCertificate::get_Certificate メソッド (certenroll.h)

Certificate プロパティは、証明書を含むDistinguished Encoding Rules (DER) でエンコードされたバイト配列を取得します。 DER でエンコードされたバイト配列は、Unicode でエンコードされた文字列で表されます。

このプロパティは読み取り専用です。

構文

HRESULT get_Certificate(
  EncodingType Encoding,
  BSTR         *pValue
);

パラメーター

Encoding

pValue

戻り値

なし

解説

Initialize メソッドを 呼び出して証明書を指定します。 次のプロパティを呼び出して、署名証明書オブジェクトに関する情報を取得することもできます。

要件

   
サポートされている最小のクライアント Windows Vista [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2008 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー certenroll.h
[DLL] CertEnroll.dll

関連項目

ISignerCertificate