These examples were written in the context of Chapter 4 - "Creating signatures externally" of the Digital Signatures for PDF documents eBook.

c4_07_clientserversigning

c4_08_serverclientsigning

c4_09_deferredsigning