ホーム › Storage.Packaging.Opc › IOpcSignatureRelationshipReference
IOpcSignatureRelationshipReference
COMメソッド 6
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| sourceUri | IOpcUri** | out | 署名対象となるリレーションシップの起点を表すソース URI IOpcUri を受け取るポインタである。 |
| digestMethod | LPWSTR* | out | ダイジェスト計算に使用されたアルゴリズムを表すメソッド URI を受け取る、NULL 終端のワイド文字列へのポインタである。 |
| digestValue | BYTE** | out | 計算されたダイジェスト値を格納したバイト配列を受け取るポインタである。 |
| count | DWORD* | out | digestValue で受け取るバイト配列の要素数(バイト数)を受け取る DWORD へのポインタである。 |
vtbl 6 HRESULT GetTransformMethod(OPC_CANONICALIZATION_METHOD* transformMethod)
| transformMethod | OPC_CANONICALIZATION_METHOD* | out | ダイジェスト計算前に適用された正規化変換方式を表す OPC_CANONICALIZATION_METHOD 値を受け取るポインタである。 |
vtbl 7 HRESULT GetRelationshipSigningOption(OPC_RELATIONSHIPS_SIGNING_OPTION* relationshipSigningOption)
| relationshipSigningOption | OPC_RELATIONSHIPS_SIGNING_OPTION* | out | リレーションシップに対する署名方法を示す OPC_RELATIONSHIPS_SIGNING_OPTION 値を受け取るポインタである。 |
vtbl 8 HRESULT GetRelationshipSelectorEnumerator(IOpcRelationshipSelectorEnumerator** selectorEnumerator)
| selectorEnumerator | IOpcRelationshipSelectorEnumerator** | 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 指定が可能。#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 sptr #comfunc global IOpcSignatureRelationshipReference_GetDigestValue 5 sptr,sptr #comfunc global IOpcSignatureRelationshipReference_GetTransformMethod 6 sptr #comfunc global IOpcSignatureRelationshipReference_GetRelationshipSigningOption 7 sptr #comfunc global IOpcSignatureRelationshipReference_GetRelationshipSelectorEnumerator 8 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。