You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Tilman Hausherr <TH...@t-online.de> on 2015/04/17 08:41:46 UTC

Object Reference in PDDocument.addSignature()

Hi Thomas,

See this:
http://stackoverflow.com/questions/17452869/pdfbox-add-visual-signature-cosobjec-cast-error

Shouldn't we replace all the getItem() calls in the "visual" segment of 
PDDocument.addSignature() with getDictionaryObject() ?

Another thing I'm wondering is why

COSDictionary cosBaseDict = (COSDictionary) base;

is called twice, instead of just once a bit earlier in the code.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org