Signature is Invalid for PDF File with iText
问题 I am using swisscom digital signature service and we have a test account. Well the service requires the hash code the pdf file . We send it with DIGEST_VALUE=$(openssl dgst -binary -SHA256 $FILE | openssl enc -base64 -A) and I get a PKCS#7 response. You can decode the my signature response by using this website https://certlogik.com/decoder/ and the signature content is http://not_need_anymore I have the same problem as follow (because we use the same code) Digital Signature (PKCS#7 -