ホーム › Security.Cryptography.Certificates › IX509PrivateKey
IX509PrivateKey
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 58
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT Open() |
| 8 | HRESULT Create() |
| 9 | HRESULT Close() |
| 10 | HRESULT Delete() |
| 11 | HRESULT Verify(X509PrivateKeyVerify VerifyType) |
| 12 | HRESULT Import(LPWSTR strExportType, LPWSTR strEncodedKey, EncodingType Encoding) |
| 13 | HRESULT Export(LPWSTR strExportType, EncodingType Encoding, LPWSTR* pstrEncodedKey) |
| 14 | HRESULT ExportPublicKey(IX509PublicKey** ppPublicKey) |
| 15 | HRESULT get_ContainerName(LPWSTR* pValue) |
| 16 | HRESULT put_ContainerName(LPWSTR Value) |
| 17 | HRESULT get_ContainerNamePrefix(LPWSTR* pValue) |
| 18 | HRESULT put_ContainerNamePrefix(LPWSTR Value) |
| 19 | HRESULT get_ReaderName(LPWSTR* pValue) |
| 20 | HRESULT put_ReaderName(LPWSTR Value) |
| 21 | HRESULT get_CspInformations(ICspInformations** ppValue) |
| 22 | HRESULT put_CspInformations(ICspInformations* pValue) |
| 23 | HRESULT get_CspStatus(ICspStatus** ppValue) |
| 24 | HRESULT put_CspStatus(ICspStatus* pValue) |
| 25 | HRESULT get_ProviderName(LPWSTR* pValue) |
| 26 | HRESULT put_ProviderName(LPWSTR Value) |
| 27 | HRESULT get_ProviderType(X509ProviderType* pValue) |
| 28 | HRESULT put_ProviderType(X509ProviderType Value) |
| 29 | HRESULT get_LegacyCsp(VARIANT_BOOL* pValue) |
| 30 | HRESULT put_LegacyCsp(VARIANT_BOOL Value) |
| 31 | HRESULT get_Algorithm(IObjectId** ppValue) |
| 32 | HRESULT put_Algorithm(IObjectId* pValue) |
| 33 | HRESULT get_KeySpec(X509KeySpec* pValue) |
| 34 | HRESULT put_KeySpec(X509KeySpec Value) |
| 35 | HRESULT get_Length(INT* pValue) |
| 36 | HRESULT put_Length(INT Value) |
| 37 | HRESULT get_ExportPolicy(X509PrivateKeyExportFlags* pValue) |
| 38 | HRESULT put_ExportPolicy(X509PrivateKeyExportFlags Value) |
| 39 | HRESULT get_KeyUsage(X509PrivateKeyUsageFlags* pValue) |
| 40 | HRESULT put_KeyUsage(X509PrivateKeyUsageFlags Value) |
| 41 | HRESULT get_KeyProtection(X509PrivateKeyProtection* pValue) |
| 42 | HRESULT put_KeyProtection(X509PrivateKeyProtection Value) |
| 43 | HRESULT get_MachineContext(VARIANT_BOOL* pValue) |
| 44 | HRESULT put_MachineContext(VARIANT_BOOL Value) |
| 45 | HRESULT get_SecurityDescriptor(LPWSTR* pValue) |
| 46 | HRESULT put_SecurityDescriptor(LPWSTR Value) |
| 47 | HRESULT get_Certificate(EncodingType Encoding, LPWSTR* pValue) |
| 48 | HRESULT put_Certificate(EncodingType Encoding, LPWSTR Value) |
| 49 | HRESULT get_UniqueContainerName(LPWSTR* pValue) |
| 50 | HRESULT get_Opened(VARIANT_BOOL* pValue) |
| 51 | HRESULT get_DefaultContainer(VARIANT_BOOL* pValue) |
| 52 | HRESULT get_Existing(VARIANT_BOOL* pValue) |
| 53 | HRESULT put_Existing(VARIANT_BOOL Value) |
| 54 | HRESULT get_Silent(VARIANT_BOOL* pValue) |
| 55 | HRESULT put_Silent(VARIANT_BOOL Value) |
| 56 | HRESULT get_ParentWindow(INT* pValue) |
| 57 | HRESULT put_ParentWindow(INT Value) |
| 58 | HRESULT get_UIContextMessage(LPWSTR* pValue) |
| 59 | HRESULT put_UIContextMessage(LPWSTR Value) |
| 60 | HRESULT put_Pin(LPWSTR Value) |
| 61 | HRESULT get_FriendlyName(LPWSTR* pValue) |
| 62 | HRESULT put_FriendlyName(LPWSTR Value) |
| 63 | HRESULT get_Description(LPWSTR* pValue) |
| 64 | HRESULT put_Description(LPWSTR Value) |