ホーム › Security.Cryptography.Certificates › IX509EnrollmentPolicyServer
IX509EnrollmentPolicyServer
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 24
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT Initialize(LPWSTR bstrPolicyServerUrl, LPWSTR bstrPolicyServerId, X509EnrollmentAuthFlags authFlags, VARIANT_BOOL fIsUnTrusted, X509CertificateEnrollmentContext context) |
| 8 | HRESULT LoadPolicy(X509EnrollmentPolicyLoadOption option) |
| 9 | HRESULT GetTemplates(IX509CertificateTemplates** pTemplates) |
| 10 | HRESULT GetCAsForTemplate(IX509CertificateTemplate* pTemplate, ICertificationAuthorities** ppCAs) |
| 11 | HRESULT GetCAs(ICertificationAuthorities** ppCAs) |
| 12 | HRESULT Validate() |
| 13 | HRESULT GetCustomOids(IObjectIds** ppObjectIds) |
| 14 | HRESULT GetNextUpdateTime(DOUBLE* pDate) |
| 15 | HRESULT GetLastUpdateTime(DOUBLE* pDate) |
| 16 | HRESULT GetPolicyServerUrl(LPWSTR* pValue) |
| 17 | HRESULT GetPolicyServerId(LPWSTR* pValue) |
| 18 | HRESULT GetFriendlyName(LPWSTR* pValue) |
| 19 | HRESULT GetIsDefaultCEP(VARIANT_BOOL* pValue) |
| 20 | HRESULT GetUseClientId(VARIANT_BOOL* pValue) |
| 21 | HRESULT GetAllowUnTrustedCA(VARIANT_BOOL* pValue) |
| 22 | HRESULT GetCachePath(LPWSTR* pValue) |
| 23 | HRESULT GetCacheDir(LPWSTR* pValue) |
| 24 | HRESULT GetAuthFlags(X509EnrollmentAuthFlags* pValue) |
| 25 | HRESULT SetCredential(INT hWndParent, X509EnrollmentAuthFlags flag, LPWSTR strCredential, LPWSTR strPassword) |
| 26 | HRESULT QueryChanges(VARIANT_BOOL* pValue) |
| 27 | HRESULT InitializeImport(VARIANT val) |
| 28 | HRESULT Export(X509EnrollmentPolicyExportFlags exportFlags, VARIANT* pVal) |
| 29 | HRESULT get_Cost(DWORD* pValue) |
| 30 | HRESULT put_Cost(DWORD value) |