If calling preClose() dont't call PdfStamper.close().
exclusionSizes must contain at least the PdfName.CONTENTS key with the size that it will take in the document. Note that due to the hex string coding this size should be byte_size*2+2.
@param exclusionSizes a HashMap with names and sizes to be excluded in the signaturecalculation. The key is a PdfName and the value an Integer. At least the PdfName.CONTENTS must be present
@throws IOException on error
@throws DocumentException on error
| |
| |
| |
| |