Sign a PDF document in PAdeS format using a CNS (National Services Card) or a SmartCard.
Java
1
Posts
1
Posters
13
Views
1
Watching
-
Hello everyone, I need to develop a Java software that takes a .PDF file as input and signs it in PAdeS format using a CNS or a SmartCard containing one's own PIN-protected certificate.
I've been trying to understand how to do this for several days, but I can't figure out the correct workflow to follow. I also don't understand how to interact with the SmartCard, it's not clear to me whether I need to extract the certificates to load them into my Java application, or if it's possible to proceed simply by using the reader driver to access the card. In both cases, I don't know where to start.
Do you have any advice or code snippets/classes to share? Thanks.