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

IX509CertificateRequestPkcs10

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

メソッド 28

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

vtblメソッド
32HRESULT InitializeFromTemplateName(X509CertificateEnrollmentContext Context, LPWSTR strTemplateName)
33HRESULT InitializeFromPrivateKey(X509CertificateEnrollmentContext Context, IX509PrivateKey* pPrivateKey, LPWSTR strTemplateName)
34HRESULT InitializeFromPublicKey(X509CertificateEnrollmentContext Context, IX509PublicKey* pPublicKey, LPWSTR strTemplateName)
35HRESULT InitializeFromCertificate(X509CertificateEnrollmentContext Context, LPWSTR strCertificate, EncodingType Encoding, X509RequestInheritOptions InheritOptions)
36HRESULT InitializeDecode(LPWSTR strEncodedData, EncodingType Encoding)
37HRESULT CheckSignature(Pkcs10AllowedSignatureTypes AllowedSignatureTypes)
38HRESULT IsSmartCard(VARIANT_BOOL* pValue)
39HRESULT get_TemplateObjectId(IObjectId** ppValue)
40HRESULT get_PublicKey(IX509PublicKey** ppValue)
41HRESULT get_PrivateKey(IX509PrivateKey** ppValue)
42HRESULT get_NullSigned(VARIANT_BOOL* pValue)
43HRESULT get_ReuseKey(VARIANT_BOOL* pValue)
44HRESULT get_OldCertificate(EncodingType Encoding, LPWSTR* pValue)
45HRESULT get_Subject(IX500DistinguishedName** ppValue)
46HRESULT put_Subject(IX500DistinguishedName* pValue)
47HRESULT get_CspStatuses(ICspStatuses** ppValue)
48HRESULT get_SmimeCapabilities(VARIANT_BOOL* pValue)
49HRESULT put_SmimeCapabilities(VARIANT_BOOL Value)
50HRESULT get_SignatureInformation(IX509SignatureInformation** ppValue)
51HRESULT get_KeyContainerNamePrefix(LPWSTR* pValue)
52HRESULT put_KeyContainerNamePrefix(LPWSTR Value)
53HRESULT get_CryptAttributes(ICryptAttributes** ppValue)
54HRESULT get_X509Extensions(IX509Extensions** ppValue)
55HRESULT get_CriticalExtensions(IObjectIds** ppValue)
56HRESULT get_SuppressOids(IObjectIds** ppValue)
57HRESULT get_RawDataToBeSigned(EncodingType Encoding, LPWSTR* pValue)
58HRESULT get_Signature(EncodingType Encoding, LPWSTR* pValue)
59HRESULT GetCspStatuses(X509KeySpec KeySpec, ICspStatuses** ppCspStatuses)