Spire.PDF 7.5.7已发布。该版本支持PDF签名添加时间戳时设置用户名和密码,优化了转换PDF到图片/SVG/Excel的功能,并且还修复了合并和打印PDF文档等时出现的问题。详情请阅读以下内容。 新功能: PdfOrdinarySignatureMaker接口支持添加时间戳 static void Main(string[] args) { X509Certificate2 x509 = new X509Certificate2(inputFile_pfx, password); PdfDocument doc = new PdfDocument(); doc.LoadFromFile(inputFile); PdfPKCS7Formatter formatter = new PdfPKCS7Formatter(x509, false); formatter.TimestampService = new TSAHttpService("http://time.certum.pl"); PdfOrdinarySignatureMaker signatureMaker = new PdfOrdinarySignatureMaker(doc,…