Win32 API 日本語リファレンス
ホームStorage.Packaging.Opc › IOpcSignatureRelationshipReference

IOpcSignatureRelationshipReference

COM
IID57babac6-9d4a-4e50-8b86-e5d4051eae7c継承元IUnknown自前メソッド開始 vtbl3

メソッド 6

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT GetSourceUri(IOpcUri** sourceUri)
sourceUriIOpcUri**out署名対象となるリレーションシップの起点を表すソース URI IOpcUri を受け取るポインタである。
vtbl 4 HRESULT GetDigestMethod(LPWSTR* digestMethod)
digestMethodLPWSTR*outダイジェスト計算に使用されたアルゴリズムを表すメソッド URI を受け取る、NULL 終端のワイド文字列へのポインタである。
vtbl 5 HRESULT GetDigestValue(BYTE** digestValue, DWORD* count)
digestValueBYTE**out計算されたダイジェスト値を格納したバイト配列を受け取るポインタである。
countDWORD*outdigestValue で受け取るバイト配列の要素数(バイト数)を受け取る DWORD へのポインタである。
vtbl 6 HRESULT GetTransformMethod(OPC_CANONICALIZATION_METHOD* transformMethod)
transformMethodOPC_CANONICALIZATION_METHOD*outダイジェスト計算前に適用された正規化変換方式を表す OPC_CANONICALIZATION_METHOD 値を受け取るポインタである。
vtbl 7 HRESULT GetRelationshipSigningOption(OPC_RELATIONSHIPS_SIGNING_OPTION* relationshipSigningOption)
relationshipSigningOptionOPC_RELATIONSHIPS_SIGNING_OPTION*outリレーションシップに対する署名方法を示す OPC_RELATIONSHIPS_SIGNING_OPTION 値を受け取るポインタである。
vtbl 8 HRESULT GetRelationshipSelectorEnumerator(IOpcRelationshipSelectorEnumerator** selectorEnumerator)
selectorEnumeratorIOpcRelationshipSelectorEnumerator**out署名対象リレーションシップを選択する選択子群を列挙する IOpcRelationshipSelectorEnumerator を受け取るポインタである。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IOpcSignatureRelationshipReference "{57BABAC6-9D4A-4E50-8B86-E5D4051EAE7C}"
#usecom global IOpcSignatureRelationshipReference IID_IOpcSignatureRelationshipReference "{}"
#comfunc global IOpcSignatureRelationshipReference_GetSourceUri                       3 sptr
#comfunc global IOpcSignatureRelationshipReference_GetDigestMethod                    4 var
#comfunc global IOpcSignatureRelationshipReference_GetDigestValue                     5 var,var
#comfunc global IOpcSignatureRelationshipReference_GetTransformMethod                 6 var
#comfunc global IOpcSignatureRelationshipReference_GetRelationshipSigningOption       7 var
#comfunc global IOpcSignatureRelationshipReference_GetRelationshipSelectorEnumerator  8 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。