How can we check whether our Digital Signature on PDF is according to 'PAdES' standard?
How to check 'PDF Digital Signature' whether it is 'PAdES' standard or not?
5k views Asked by Pearapon Joe At
1
There are 1 answers
Related Questions in PDF
- How to use custom font during html to pdf conversion?
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- PDF form checkbox/radio button ignores content stream
- Suggest python library for rendering html to pdf files
- Problems with the order in which PDF files are created
- Centering a map element on a generated PDF
- download all pdf files from website doesn't support wildcard
- How to enter external pdf into quarto book while keeping page layout+numbering
- How do I create a website that combines user input and standard text and converts it into a pdf?
- Excel VBA error 1004 on PDF export - not a path issue
- downloading pdf using requests not working
- Creating pdf on Firestore with Pdfplum: Template path "no such object"
- Export password protected PDF from QGIS
- XPS convert PDF with Ghostscript
- Download PDF in ASP.NET MVC application
Related Questions in DIGITAL-SIGNATURE
- Locking PDF after filling out text field
- Why do some cryptographic signature npm packages (like superdilithium) convert text to an array of integers before signing?
- Itext pdf deferred signing with invalid signature
- RSASSA-PSS signature verification fails dues to padding with mbedtls but succeeds in Python
- Android - sign XML file
- How cosign finds a record in Rekor when verifying?
- Cosign giving error signing ECR images. Keyless signing with github repo certificate using git_ref
- Why does digitally signing with Adobe Reader cause Windows Cryptographic errors
- EC Keypair Issue: Can't verify a signature with the correct public key
- Flutter Android application is not installing after release signing
- Digitially sign a PDF using java
- Can't install after recompiled android code
- xml signing with google-cloud-kms in java/kotlin
- How do I sign an Excel C# COM Addin?
- Unable to create Pkcs11SignatureToken with JDK21
Related Questions in PADES
- Unable to create Pkcs11SignatureToken with JDK21
- PAdES-B-LT Signature Validation Error with Entrust and Apryse (PDFTron) - "No Certificate Chain Found"
- OpenSSL - ContentInfo having Content set in addition to ContentType without specifying this
- Itext8 .net pdf signature with a trusted third party
- IssuerSerial Matching in Pades Signature with IText 8.0.3
- iText7 breaks PAdES signature when filling in fields
- Low level workflow to achieve PAdES LTV digital signatures in PDFs
- PDF signature invalid after timestamp to TSA
- Signature is still valid after adding some extra bytes to the end of the PDF file
- Sign embedding to PDF, Document has been altered or corrupted since it was signed problem
- "Unknown PdfException" by iText7 when TimeStampToken is not present in the embedded Pkcs7 UnsignedAttributes section
- Invalid signature after adding DSS dictionary to signed PDF
- Adding OCSPs and Certs to DSS dictionary of signed PDF in node.js to make it LTV enabled
- Generating PAdES-LT signature(CMSSignedData) using bouncy castle without DSS
- Signing PDF with DSS using PAdES-LT level
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The OP uses third-party software (iText 5.4.2 in the case at hand) for creating PAdES signatures and now wants to check whether the resulting signatures indeed satisfy the PAdES specification. Here some ideas for that:
What do you mean by "PAdES signature"?
First of all you have to define what you mean by "PAdES signature":
Do you mean that term as defined in the upcoming PDF 2.0 specification:
Do you mean more specifically a signature following one of the PAdES baseline signature profiles as specified in ETSI EN 319 142-1?
Or would one of the additional PAdES signatures profiles from ETSI EN 319 142-2 also qualify?
In particular you have to know whether you are also considering the additional PAdES signatures profiles "for CMS digital signatures in PDF" or "for XAdES Signatures signing XML content in PDF" from ETSI EN 319 142-2 or not because these two profiles differ very much from the remaining ones.
I assume you don't consider these two profiles because the former more or less is the good old ISO 32000-1 CMS signature with a few restriction most signers follow anyways, and the latter are XML signatures which are a completely different animal altogether.
All the remaining profiles differ mostly in the amount and type of validation related information and time stamps added to the document to make the validation less and less dependent on data one has to retrieve online.
Options for checking
Manually: You take a PDF browser (like iText RUPS or the PDFBox PDF Debugger), a hex viewer, an ASN.1 Dump utility, the applicable base specification from the list above and the additional specifications referenced from the base specification and check all the criteria.
This requires quite some time for a single signature but in the end you can know everything there is to know about the tested signature. I only recommend this if you have some experience using those tools and working with specifications, or if you really have much time to learn.
Programmatically: You take a general purpose PDF library (if you take a different one than the one you create you signatures with, the credibility of the result might increase), a security functions library (e.g. BouncyCastle), the base specification and the additional ones, and start implementing a program testing the criteria in the specification.
This requires quite some time to develop but then can be re-used, e.g. for quality assurance and regression prevention. I only recommend this if you have some experience using those libraries and working with specifications, or if you really have much time to learn.
You use an existing software or service that evaluates the signature for you, e.g. the ETSI Signature Conformance Checker (http://signatures-conformance-checker.etsi.org/pub/index.shtml), a free online tool that performs numerous checkings in order to verify the conformity of the ETSI Advanced Electronic Signatures.
This obviously is the quickest option but you generally cannot be sure how reliable the tests were executed. Thus, it is good as a first opinion but depending on how much is at stake, I would want more security.
You can hire experts to analyse and assess the validity of your signature according to the desired profile.
This may be expensive but at least you have someone to resort to if later you get into trouble due to some non-compliance.