Can I sign all files using digital signature or is there any file type that I cannot sign?
I can get public key of my certificate but how can I sign .iso or .zip files with that ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The answer depends on format you wish to sign in. PKCS#7 / CMS / CAdES signing is a binary format that lets you sign any data and make both wrapping and detached signatures. XMLDSIG / XAdES (XML signing) can be used for the same purpose as well. There exist also format-specific signature mechanisms (eg. for signing Office documents, PDF documents etc).
For signing you must have a certificate with a corresponding private key. It’s a private key that enables signing.
In Java you can do signing using BouncyCastle or our SecureBlackbox (Java edition). BouncyCastle supports PKCS7 / CMS signing, our SecureBlackbox supports all signature formats and mechanisms I mentioned above.