login about faq

This is to avoid creating a .pfx file on the computer. I tried to serialize the object but it won't let me because Chilkat.Cert is not marked as serializable.

I tried to use .ExportCertDer() method, however, when i try to instantiate a X509Certificate2 object it tells me it doesn't have a private key

asked Apr 11 '14 at 18:03

Delizald's gravatar image


edited Apr 11 '14 at 18:15

There is an ExportToPfxFile method, but it (obviously) exports to a PFX file. I will add an ExportToPfxData method to export to an in-memory byte array. Please let me know exactly what build you would need (programming language, operating system, and whatever else is applicable: .NET Framework, Visual Studio version, Perl version, Python version, 32-bit/64-bit, etc.)


answered Apr 14 '14 at 15:42

chilkat's gravatar image

chilkat ♦♦

Thank you! I'm currently using Visual Studio 2010, C# Programming language, Windows 8 .NET Framework 4.0, both 32 and 64 bit,

(Apr 14 '14 at 15:48) Delizald

answered Apr 14 '14 at 16:09

chilkat's gravatar image

chilkat ♦♦

Thank you so much! It's working perfectly now! :D

(Apr 14 '14 at 17:13) Delizald
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 11 '14 at 18:03

Seen: 2,224 times

Last updated: Apr 14 '14 at 17:13

powered by OSQA