Eneko González Benito wrote:
In the book example, I get the public certificate from a smart card like this: certs[0] = scd.getNonRepudiationCertificate();Ok. Now i understand better what you were saying ...What about setCrypto? I need to call it before signing .. can i do it without privateKey and chain? Or do i need at least one of them?
In set crypto, I don't use a private key: sap.setCrypto( null, certs, null, PdfSignatureAppearance.SELF_SIGNED); br, Bruno
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
