Share via


IXMLDigitalSignatureEx

 

[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.

Properties

None

Methods

createKeyFromCertContext Creates 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.
createKeyFromHMACSecretBinary Creates 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.
getStoreHandle Gets a handle to the certificate store from which the certificate can be retrieved and validated.
setDebugOutput Sets the target for debug output.
setStoreHandle Sets a certificate store handle on the signature object, so that certificate information can be inserted into the <ds:KeyInfo> element.

Events

None.

Remarks

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

Requirements

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"

Versioning

MSXML 5.0 for Microsoft Office Applications and later

See Also

IXMLDSigKey