First of all, thank you for your wonderful products J I’m evolving some of them and they are really very fine.
I need to create a big software system which creates and signs contracts in PDF files with an official digital signature. I made some tests and found that Aspose.PDF.Kit works well, but only with certificates in .pfx format. My provider of digital signatures gives me a plastic card with a PIN code, not a .pfx file. And they refuse to provide me with my certificate as a file in .pfx format.
So, the question is: first, is my test correct that it only works with the .pfx file? Look at the following code:
```csharp
Certificate cert = new Certificate(@"D:\AAdInserter\test.pfx", "1"); // this works OK
// Certificate cert = new Certificate(@"D:\AAdInserter\v.p7b", ""); // second code produces an error
```
I can get my certificate in formats .p7b, X509, and Base64. With this certificate, when I use it, system software like drivers installed with the Card Reader asks for a PIN code, and after entering it, the certificate is OK. You might know how this mode of use is working?
So the question is: do you have plans to support this mode for signing? If there is a chance, I will use your latest version 3.5.
The signature feature of Aspose.Pdf.Kit supports only .pfx certificate file now. Other types of certificate file will be supported in the future, but we need about two or three months to support other certificate files. We are sorry for the inconvenience.
I also still find this future interesting! Please note that this is the primary working mode for all Europe, e.g., 27 countries and a population of about 500 million.
You probably do not know, but a file signed in this way is 100% valid according to the law, just like a contract signed on paper.
So if you provide this future you will be the first component provider that has it, and I’m sure you will have MANY more sales in Europe!
If you are interested, I can send you one of my old devices to make a test. It is 100% functional; the simple certificate written on a plastic card is expired. However, this only means that the file written with it is not valid by law, but all other technical aspects are 100% the same!
Thanks for your inquiry. I am afraid currently Aspose.Pdf does not support p7b certificate for digital signature. We he have logged a feature request PDFNEWNET-40715 in our issue tracking system. We will notify you as soon as it is implemented.
Thanks for quick response. We need to deliver this feature to client. Earlier they are using .pfx certificate to sign the pdf. But now they have shifted to .p7b certificate.
When we can expect this feature to be included in Aspose.pdf future release?
I am afraid currently we cannot confirm the ETA but your concerns have been recorded with product team and as soon as we have some further updates, we will let you know.
Thanks for your inquriy. I am afraid the feature request is recently logged and it is still pending for investigation. However we have recorded your concern with our product team and will notify you as soon as we made some significant progress towards issue resolution.
Our product team has further investigated the feasibility of requested feature about .p7b certificate support for digital signature and as per their feedback, the .p7b file can contain only certificates and chain certificates, but not the private key which used for signing. So I am afraid that the requested requested feature cannot be offered.
In case of any further assistance, please feel free to contact us.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.