PAdES Signing High Level API
Intro
Our march toward improving the digital signature experience continues. Our previous iText 8.0.2 release saw the addition of the PdfPadesSigner
class to enable convenient application of PAdES baseline levels. In our latest iText 8.0.3 release we have added PadesTwoPhaseSigningHelper
(Java/.NET); a helper class enabling fast and easy two-step signing.
The four PAdES baseline digital signing profiles represent four increasingly complex verifications. Each advancement builds incrementally on the prior standard, and requires additional attributes to be added. Previously, advancing up the different levels of a PAdES baseline signature using our PdfSigner
class was an arduous incremental process. For each level the user would have to instantiate a PdfSigner
object, passing in the required attributes, saving the document with the digital signature container, then to reload the document and start the process again to achieve the next level.
Within the PdfPadesSigner
class, individual methods for each PAdES baseline signing level accept the appropriate parameters for the required attributes to achieve that desired PAdES signing level without the incremental process. Additionally, we have added an easy high level method to add a new timestamp to existing PAdES LTA signatures.
The PadesTwoPhaseSigningHelper
class enables the user to more easily preform a two-step signing workflow; preparing the document with a signature container, then actually signing the document using the appropriate corresponding PAdES baseline profile.
PAdES Levels
In the code sample below, we show how to create a PAdES level b signature, with the PadesTwoPhaseSigningHelper
class.
API Links:
PdfPadesSigner
API links for each PAdES baseline signing level:
In the code sample below, we show how you can create a Level B and Level LTA signature using PdfPadesSigner
.