IXMLDigitalSignatureEx
[This feature was first implemented for MSXML 5.0.]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 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.