getStoreHandle Method

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - Digital Signatures

getStoreHandle Method

[This feature was first implemented for MSXML 5.0.]

Retrieves a handle to the certificate store from which the certificate can be retrieved and validated. The method is applicable to C/C++ application only.

C/C++ Syntax

HRESULT getStoreHandle (void** hCertStore);

Parameters

hCertStore
Handle to a certificate store created using CryptoAPI functions, such as CertOpenSystemStore or CertOpenStore.

Return Values

S_OK
Certificate store handle was obtained without error.
E_FAIL
Failed to obtain the certificate store handle. The hCertStore parameter returns NULL.

Remarks

When you are done using the certificate store handle, call CertCloseStore to free the store object.

Applies To

IXMLDigitalSignatureEx

Versioning

MSXML 5.0 and later

To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

IXMLDigitalSignatureEx Interface | sign Method | verify Method