itext5进行pdf签名时如何设置签名域描述
在iText5中,可以通过设置PdfSignatureAppearance对象的setLayer2Text()方法来设置签名域描述。示例如下:
PdfSignatureAppearance appearance = pdfStamper.getSignatureAppearance();
appearance.setLayer2Text("This document is digitally signed by John Doe");
在该示例中,setLayer2Text()方法的参数为签名域的描述文本。可以根据需要自定义签名域描述。
原文地址: http://www.cveoy.top/t/topic/hupB 著作权归作者所有。请勿转载和采集!