EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElX509Certificate from X509Certificate2 object

Posted: 04/18/2012 06:48:34
by Ken Ivanov (Team)

Thank you for letting us know about the problem, we can confirm it for now. We will prepare the fix for the future SecureBlackbox update.
Posted: 05/30/2013 11:34:15
by Alberto Silva (Standard support level)
Joined: 05/30/2013
Posts: 1

I've just found this thread after submitting a Support ticket (TID#22999)

The documentation states in the "What's new in SecureBlackbox 8.0 " page:

"TElX509Certificate objects can now be cast to and from .NET X509Certificate2 objects."

However I don't find how to perform such cast using the .NET Compact Framework 3.5... if I load a pfx to a TElX509Certificate object, save it to a byte array with SaveToBuffer and then instanciate a X509Certificate2 object from that byte array, do I get "the same" certificate that was loaded from the .pfx? The need to have a X502Certificate2 is to attach it to the ClientCertificates collection of a HttpWebRequest.

Alberto Silva
Posted: 05/30/2013 11:38:21
by Eugene Mayevski (Team)

I am not sure about casting. There exist methods TElX509Certificate.ToX509Certificate2 and TElX509Certificate.FromX509Certificate2, but I suspect they can be missing in .NET CF. You need to check this.

Sincerely yours
Eugene Mayevski
Posted: 05/30/2013 13:08:32
by Eugene Mayevski (Team)

I was wrong - .NET CF doesn't have those methods.

Sincerely yours
Eugene Mayevski



Topic viewed 14699 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!