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

IX509PrivateKey

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

メソッド 58

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

vtblメソッド
7HRESULT Open()
8HRESULT Create()
9HRESULT Close()
10HRESULT Delete()
11HRESULT Verify(X509PrivateKeyVerify VerifyType)
12HRESULT Import(LPWSTR strExportType, LPWSTR strEncodedKey, EncodingType Encoding)
13HRESULT Export(LPWSTR strExportType, EncodingType Encoding, LPWSTR* pstrEncodedKey)
14HRESULT ExportPublicKey(IX509PublicKey** ppPublicKey)
15HRESULT get_ContainerName(LPWSTR* pValue)
16HRESULT put_ContainerName(LPWSTR Value)
17HRESULT get_ContainerNamePrefix(LPWSTR* pValue)
18HRESULT put_ContainerNamePrefix(LPWSTR Value)
19HRESULT get_ReaderName(LPWSTR* pValue)
20HRESULT put_ReaderName(LPWSTR Value)
21HRESULT get_CspInformations(ICspInformations** ppValue)
22HRESULT put_CspInformations(ICspInformations* pValue)
23HRESULT get_CspStatus(ICspStatus** ppValue)
24HRESULT put_CspStatus(ICspStatus* pValue)
25HRESULT get_ProviderName(LPWSTR* pValue)
26HRESULT put_ProviderName(LPWSTR Value)
27HRESULT get_ProviderType(X509ProviderType* pValue)
28HRESULT put_ProviderType(X509ProviderType Value)
29HRESULT get_LegacyCsp(VARIANT_BOOL* pValue)
30HRESULT put_LegacyCsp(VARIANT_BOOL Value)
31HRESULT get_Algorithm(IObjectId** ppValue)
32HRESULT put_Algorithm(IObjectId* pValue)
33HRESULT get_KeySpec(X509KeySpec* pValue)
34HRESULT put_KeySpec(X509KeySpec Value)
35HRESULT get_Length(INT* pValue)
36HRESULT put_Length(INT Value)
37HRESULT get_ExportPolicy(X509PrivateKeyExportFlags* pValue)
38HRESULT put_ExportPolicy(X509PrivateKeyExportFlags Value)
39HRESULT get_KeyUsage(X509PrivateKeyUsageFlags* pValue)
40HRESULT put_KeyUsage(X509PrivateKeyUsageFlags Value)
41HRESULT get_KeyProtection(X509PrivateKeyProtection* pValue)
42HRESULT put_KeyProtection(X509PrivateKeyProtection Value)
43HRESULT get_MachineContext(VARIANT_BOOL* pValue)
44HRESULT put_MachineContext(VARIANT_BOOL Value)
45HRESULT get_SecurityDescriptor(LPWSTR* pValue)
46HRESULT put_SecurityDescriptor(LPWSTR Value)
47HRESULT get_Certificate(EncodingType Encoding, LPWSTR* pValue)
48HRESULT put_Certificate(EncodingType Encoding, LPWSTR Value)
49HRESULT get_UniqueContainerName(LPWSTR* pValue)
50HRESULT get_Opened(VARIANT_BOOL* pValue)
51HRESULT get_DefaultContainer(VARIANT_BOOL* pValue)
52HRESULT get_Existing(VARIANT_BOOL* pValue)
53HRESULT put_Existing(VARIANT_BOOL Value)
54HRESULT get_Silent(VARIANT_BOOL* pValue)
55HRESULT put_Silent(VARIANT_BOOL Value)
56HRESULT get_ParentWindow(INT* pValue)
57HRESULT put_ParentWindow(INT Value)
58HRESULT get_UIContextMessage(LPWSTR* pValue)
59HRESULT put_UIContextMessage(LPWSTR Value)
60HRESULT put_Pin(LPWSTR Value)
61HRESULT get_FriendlyName(LPWSTR* pValue)
62HRESULT put_FriendlyName(LPWSTR Value)
63HRESULT get_Description(LPWSTR* pValue)
64HRESULT put_Description(LPWSTR Value)