Jared, I'm not sure what exactly you mean by "signing like normal" as the signing done by iText actually is quite normal.
If what you actually want is more complete control over the actual signature container generation, i.e. at some point have a stream of bytes to sign, create a signature container using your own or third party libraries, and then inject that externally created signature container, the code here: http://old.nabble.com/Re%3A-signing-pdf-with-external-signature-p22053082.html might help you along. Regards, Michael. Javadoc wrote: > > I've been modifying the standard itext example of signing with an external > signature. Normally you use the Signature.update(byte[]) method to input > the > range stream into to the signature object and then call Signature.sign() > to > return the digest. I would like to use a MessageDigest to return the PDF's > hash and then sign the hash against my certificate/key like normal. Does > anyone have any good ideas to get me pointed in the right direction? > Thanks! > Jared > -- View this message in context: http://old.nabble.com/Signing-from-hash%2C-not-rangestream.-tp26585481p26588094.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
