Win32 API 日本語リファレンス
ホームSecurity.Cryptography.Certificates › IX509CertificateRequestCertificate

IX509CertificateRequestCertificate

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IID728ab343-217d-11da-b2a4-000e7bbb2b09継承元IX509CertificateRequestPkcs10呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl60

メソッド 11

vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。

vtbl 60 HRESULT CheckPublicKeySignature(IX509PublicKey* pPublicKey)
pPublicKeyIX509PublicKey*inoptional署名の検証に使用する公開鍵を表す IX509PublicKey オブジェクトを渡す。
vtbl 61 HRESULT get_Issuer(IX500DistinguishedName** ppValue)
ppValueIX500DistinguishedName**out証明書の発行者識別名を表す IX500DistinguishedName オブジェクトを受け取るポインタである。
vtbl 62 HRESULT put_Issuer(IX500DistinguishedName* pValue)
pValueIX500DistinguishedName*inoptional証明書の発行者識別名を表す IX500DistinguishedName オブジェクトを渡す。
vtbl 63 HRESULT get_NotBefore(DOUBLE* pValue)
pValueDOUBLE*out証明書の有効期間開始日時を OLE オートメーション日付(DOUBLE)として受け取るポインタである。
vtbl 64 HRESULT put_NotBefore(DOUBLE Value)
ValueDOUBLEin証明書の有効期間開始日時を OLE オートメーション日付(DOUBLE)で指定する。
vtbl 65 HRESULT get_NotAfter(DOUBLE* pValue)
pValueDOUBLE*out証明書の有効期間終了日時を OLE オートメーション日付(DOUBLE)として受け取るポインタである。
vtbl 66 HRESULT put_NotAfter(DOUBLE Value)
ValueDOUBLEin証明書の有効期間終了日時を OLE オートメーション日付(DOUBLE)で指定する。
vtbl 67 HRESULT get_SerialNumber(EncodingType Encoding, LPWSTR* pValue)
EncodingEncodingTypein取得するシリアル番号文字列のエンコーディング種別を指定する EncodingType 列挙値である。
pValueLPWSTR*out証明書のシリアル番号を指定エンコーディングの文字列として受け取るポインタである。
vtbl 68 HRESULT put_SerialNumber(EncodingType Encoding, LPWSTR Value)
EncodingEncodingTypein渡すシリアル番号文字列のエンコーディング種別を指定する EncodingType 列挙値である。
ValueLPWSTRin証明書のシリアル番号を指定エンコーディングの文字列として渡す。
vtbl 69 HRESULT get_SignerCertificate(ISignerCertificate** ppValue)
ppValueISignerCertificate**outこの証明書要求に署名する署名証明書を表す ISignerCertificate オブジェクトを受け取るポインタである。
vtbl 70 HRESULT put_SignerCertificate(ISignerCertificate* pValue)
pValueISignerCertificate*inoptionalこの証明書要求に署名する署名証明書を表す ISignerCertificate オブジェクトを渡す。

HSP用 COM定義

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

出力引数:
#define global IID_IX509CertificateRequestCertificate "{728AB343-217D-11DA-B2A4-000E7BBB2B09}"
#usecom global IX509CertificateRequestCertificate IID_IX509CertificateRequestCertificate "{}"
#comfunc global IX509CertificateRequestCertificate_CheckPublicKeySignature  60 sptr
#comfunc global IX509CertificateRequestCertificate_get_Issuer               61 sptr
#comfunc global IX509CertificateRequestCertificate_put_Issuer               62 sptr
#comfunc global IX509CertificateRequestCertificate_get_NotBefore            63 var
#comfunc global IX509CertificateRequestCertificate_put_NotBefore            64 double
#comfunc global IX509CertificateRequestCertificate_get_NotAfter             65 var
#comfunc global IX509CertificateRequestCertificate_put_NotAfter             66 double
#comfunc global IX509CertificateRequestCertificate_get_SerialNumber         67 int,var
#comfunc global IX509CertificateRequestCertificate_put_SerialNumber         68 int,wstr
#comfunc global IX509CertificateRequestCertificate_get_SignerCertificate    69 sptr
#comfunc global IX509CertificateRequestCertificate_put_SignerCertificate    70 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。