Skip to main content
Skip table of contents

Digital signatures - chapter 4

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


c4_01_signwithpkcs11hsm

Signing a document with PKCS#11 using a Hardware Security Module (HSM) - currently only available for Java

##GITHUB:https://github.com/itext/i7js-signatures/blob/develop/src/test/java/com/itextpdf/samples/signatures/chapter04/C4_01_SignWithPKCS11HSM.java##


c4_02_signwithpkcs11usb

Signing a document with PKCS#11 using a USB token - currently only available for Java

##GITHUB:https://github.com/itext/i7js-signatures/blob/develop/src/test/java/com/itextpdf/samples/signatures/chapter04/C4_02_SignWithPKCS11USB.java##

c4_03_signwithpkcs11sc

Signing a document with PKCS#11 using a BEID - currently only available for Java

##GITHUB:https://github.com/itext/i7js-signatures/blob/develop/src/test/java/com/itextpdf/samples/signatures/chapter04/C4_03_SignWithPKCS11SC.java##


c4_07_clientserversigning

Signing a document on the client using a signature created on the server:

##GITHUB:https://github.com/itext/i7js-signatures/blob/develop/src/test/java/com/itextpdf/samples/signatures/chapter04/C4_07_ClientServerSigning.java##

##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.publications/itext.publications.signatures/itext/samples/signatures/chapter04/C4_07_ClientServerSigning.cs##

c4_08_serverclientsigning

Signing a document on the server using a signature created on the client:

##GITHUB:https://github.com/itext/i7js-signatures/blob/develop/src/test/java/com/itextpdf/samples/signatures/chapter04/C4_08_ServerClientSigning.java##

##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.publications/itext.publications.signatures/itext/samples/signatures/chapter04/C4_08_ServerClientSigning.cs##

c4_09_deferredsigning

Signing a document by creating a blank signature container, creating a signature appearance on the server and getting a hash to send to the client (deferred signing):

##GITHUB:https://github.com/itext/i7js-signatures/blob/develop/src/test/java/com/itextpdf/samples/signatures/chapter04/C4_09_DeferredSigning.java##

##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.publications/itext.publications.signatures/itext/samples/signatures/chapter04/C4_09_DeferredSigning.cs##

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.