[This feature was implemented for MSXML 5.0 for Microsoft Office Applications. XML digital signatures are not supported in MXSML 6.0 and later.]

The IXMLDigitalSignatureEx interface extends the IXMLDigitalSignature interface to enable C/C++ applications to interact with various cryptographic objects, such as a certificate context or a certificate store handle, that are required to sign or verify a signature.


createKeyFromCertContextCreates and returns a key handle from a certificate context as defined in CryptoAPI. Both the private and public keys are accessible through the resultant key handle.
createKeyFromHMACSecretBinaryCreates and returns a key handle from an unencoded binary secret value used in an HMAC algorithm. The key accessible through this handle may be used for signing and verifying an XML document or fragment.
getStoreHandleGets a handle to the certificate store from which the certificate can be retrieved and validated.
setDebugOutputSets the target for debug output.
setStoreHandleSets a certificate store handle on the signature object, so that certificate information can be inserted into the <ds:KeyInfo> element.


The methods of this interface can only be called from C/C++ applications.

Implementation: msxml5.dll

Header and IDL files: msxml2.h, msxml2.idl

Version-Dependent ProgID: Msxml2.MXDigitalSignature.5.0

Version-Dependent CLSID: 88d969e5-f192-11d4-a65f-0040963251e5, "MXDigitalSignature 5.0"

MSXML 5.0 for Microsoft Office Applications and later