Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Signing PDF using the X509Certificate2 instead PFX file

$
0
0
We need signing PDF file with timestamp. But PdfFileSignature class support only signing with PFX file. For real using is it not possible (security reasons), because users has private key in crypto service provider or on card and they do not want/can export private key to PFX file.

For signing we need two different ways:

1) use instance of X509Certificate2 similar as used in class PdfDigitalSignatureDetails in Aspose.Words for signing PDF during export to PDF.

2) for signing in WEB browser use "detached" signature. Signing have three phases:
- prepare PDF and compute hash for signing on WEB server (in Aspose)
- signing computed hash on browser (in our Java applet)
- input PKCS7 formated signature with certficate chain to prepared PDF on server (in Aspose)

Do you plan first or first and second our request implement to Aspose.Pdf? If yes, than when?

Viewing all articles
Browse latest Browse all 3131

Trending Articles