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
orCertOpenStore
.
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
Versioning
MSXML 5.0 and later
To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button in the upper-left corner of the page.
See Also
IXMLDigitalSignatureEx Interface | sign Method | verify Method