Digital certificate
-
- Posts: 11
- Joined: Mon Jun 25, 2012 10:50 am
Digital certificate
Hello again!
Is it possible to add a digital certificate that i have in a database field to a web report so it adds to the PDF when exporting?
Is it possible to add a digital certificate that i have in a database field to a web report so it adds to the PDF when exporting?
Digital certificate
Hello,
Unfortunately, on the current moment our product works only with certificates that are stored in the Windows Certificate Store.
Thank you.
Unfortunately, on the current moment our product works only with certificates that are stored in the Windows Certificate Store.
Thank you.
-
- Posts: 11
- Joined: Mon Jun 25, 2012 10:50 am
Digital certificate
Does it work with the certificate stored on the client side? Do you have any documentation for this?
Thanks! :biggrin:
Thanks! :biggrin:
-
- Posts: 11
- Joined: Mon Jun 25, 2012 10:50 am
Digital certificate
Hello,
I've read the documentation within the manual and imnot sure i get it.
In the doc i read:
Important! In web applications this way cannot be used, because the menu of selecting a certificate
is displayed on a computer on what the export is in process, in other words on the server. So the user
cannot see and cannot do anything with it. In other words the export endlessly waits when the certificate
will be selected.
Reading this i assume i can't let the user decide which certificate to add to the Pdf, it was one of the options for us..
But the best option would be to have this data from the certificate stored in our databases, and so the client would add his certificate in his profile menu, then we add it to his register and depending the user executing we provide in the datasource the appropiate certificate.
One last option would be to have all the certificates from our clients stored in our server then somehow decide which certificate we must add to the pdf depending on the user.
Thanks in advance
Nico.:waaaht:
I've read the documentation within the manual and imnot sure i get it.
In the doc i read:
Important! In web applications this way cannot be used, because the menu of selecting a certificate
is displayed on a computer on what the export is in process, in other words on the server. So the user
cannot see and cannot do anything with it. In other words the export endlessly waits when the certificate
will be selected.
Reading this i assume i can't let the user decide which certificate to add to the Pdf, it was one of the options for us..
But the best option would be to have this data from the certificate stored in our databases, and so the client would add his certificate in his profile menu, then we add it to his register and depending the user executing we provide in the datasource the appropiate certificate.
One last option would be to have all the certificates from our clients stored in our server then somehow decide which certificate we must add to the pdf depending on the user.
Thanks in advance
Nico.:waaaht:
Digital certificate
Hello, Nicolai.
1. CertificateData. Here you could set your certificate file as binary raw data.
2. CertificatePassword.
Look at the sample code:
We have tested this code with pfx certificate.
New properties will be available in our next prerelease build next week.
Thank you.
We have added two new properties to the PDF export settings:Nicolai_Petrov wrote:I've read the documentation within the manual and imnot sure i get it.
In the doc i read:
Important! In web applications this way cannot be used, because the menu of selecting a certificate
is displayed on a computer on what the export is in process, in other words on the server. So the user
cannot see and cannot do anything with it. In other words the export endlessly waits when the certificate
will be selected.
Reading this i assume i can't let the user decide which certificate to add to the Pdf, it was one of the options for us..
But the best option would be to have this data from the certificate stored in our databases, and so the client would add his certificate in his profile menu, then we add it to his register and depending the user executing we provide in the datasource the appropiate certificate.
One last option would be to have all the certificates from our clients stored in our server then somehow decide which certificate we must add to the pdf depending on the user.
1. CertificateData. Here you could set your certificate file as binary raw data.
2. CertificatePassword.
Look at the sample code:
Code: Select all
FileStream fs = new FileStream(@"c:\certificate.pfx", FileMode.Open);
byte[] buf = new byte[fs.Length];
fs.Read(buf, 0, buf.Length);
StiPdfExportSettings es = new StiPdfExportSettings();
es.UseDigitalSignature = true;
es.GetCertificateFromCryptoUI = false;
es.SubjectNameString = "YourSubjectName";
es.CertificateData = buf;
es.CertificatePassword = "yourPassword";
StiReport report = new StiReport();
report.Load("yourReport.mrt");
report.Render();
report.ExportDocument(StiExportFormat.Pdf, @"c:\test.pdf", es);
New properties will be available in our next prerelease build next week.
Thank you.
-
- Posts: 11
- Joined: Mon Jun 25, 2012 10:50 am
Digital certificate
GREAT !!
THANKS !!
We will test it on next prerelease and tell you the outcome.
Nico. :biggrin:
THANKS !!
We will test it on next prerelease and tell you the outcome.
Nico. :biggrin:
Re: Digital certificate
Hello.
We are waiting for your reply. Next prerelease build will be available on 5 of July.
Thank you.
We are waiting for your reply. Next prerelease build will be available on 5 of July.
Thank you.
-
- Posts: 11
- Joined: Mon Jun 25, 2012 10:50 am
Re: Digital certificate
Is the prerelease build already online ?
Nico.
Nico.
Re: Digital certificate
Hello.
Thank you.
You could find a trial version here http://stimulsoft.com/ReportsWebDownloads.aspx or if you are a regestered user then in the Registered Users Area.Nicolai_Petrov wrote:Is the prerelease build already online ?
Thank you.