Common Digital Signature Programming Tasks

This section describes how to perform basic programming tasks with the XPS Digital Signature API.

Tasks

Disclaimer

Code examples are not intended to be complete and working programs. The code examples that are referenced on this page, for example, do not perform parameter checking, error checking, complete memory or resource management, or error handling. Use these examples as a starting point, then add the necessary code to create a robust application. For more information about HRESULT return values and error handling strategies, see Error Handling in COM.

For clarity, these code examples use very simple XPS document and signature scenarios, which might not be sufficiently complex to meet your needs.