次の方法で共有


IMFContentDecryptionModule::SetServerCertificate メソッド (mfcontentdecryptionmodule.h)

ライセンス サーバーへのメッセージの暗号化に使用するサーバー証明書を提供します。

構文

HRESULT SetServerCertificate(
  const BYTE *certificate,
  DWORD      certificateSize
);

パラメーター

certificate

証明書を含む BYTE 配列。

certificateSize

証明書内の配列のサイズ。

戻り値

成功すると S_OK を返します。

注釈

SetServerCertificate は、暗号化メディア拡張機能仕様の SetServerCertificate に基づいています。

要件

要件
サポートされている最小のクライアント Windows 10バージョン 2004 (10.0;ビルド 19041)
サポートされている最小のサーバー Windows Server バージョン 2004 (10.0;ビルド 19041)
Header mfcontentdecryptionmodule.h