EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Windows Phone sample?

Posted: 08/18/2011 12:41:03
by Ben Williams (Basic support level)
Joined: 08/16/2011
Posts: 6

I can successfully run the SSLBlackbox windows forms client samples but when I try to replicate that in a windows phone project I get exceptions in the constructors of both TElSimpleSSLClient and TElSecureClient. Are there any samples of using these new WP7 assemblies that are included? I'm using the 9.0.203 release os secureBlackbox
Posted: 08/18/2011 13:14:36
by Eugene Mayevski (Team)

1) Are you using WP7 assemblies in your project?
2) WP7 as of now doesn't have Socket class, consequently there's no simple way for SSL in WP7. This will change with Mango release, which provides Silverlight-like sockets.

Sincerely yours
Eugene Mayevski
Posted: 08/24/2011 13:08:03
by Chris Best (Basic support level)
Joined: 08/24/2011
Posts: 2

The 7.1 Release Candidate SDK targets Mango and has socket support. (see http://create.msdn.com/en-us/home/getting_started and http://msdn.microsoft.com/en-us/library/system.net.sockets.socket(v=vs.95).aspx)

Why they don't have built in SSL is beyond me.

I was going to try to use TElSecureClient to put an SSL session on top of a socket, but am seeing the same error: System.TypeInitializationException: The type initializer for 'SBClient' threw an exception.

No inner exception.

Not sure if I am missing some setup step, or what?
Posted: 08/24/2011 13:22:02
by Ken Ivanov (Team)

SecureBlackbox does not include an assembly set targeted for Mango platform (and the shipped WP7 assemblies are unlikely to work flawlessly with it due to huge number of changes in the framework). We plan to include a separate assembly set for Mango with SBB 9.1, which is in RC status at the moment.
Posted: 08/24/2011 13:43:01
by Chris Best (Basic support level)
Joined: 08/24/2011
Posts: 2

That makes sense.

Is there a rough timeline for the version with Mango support? Can I try out the RC? :)
Posted: 08/24/2011 13:57:42
by Ken Ivanov (Team)

RC does not include Mango assemblies as well yet (though you are welcome to try it out anyway - it is available on the downloads page). Mango and Silverlight 5 assembly packs are being prepared at the moment; hopefully both will be available within a fortnight.
Posted: 08/25/2011 16:45:32
by Ben Williams (Basic support level)
Joined: 08/16/2011
Posts: 6

yes I was attempting to use the shipped wp7 assemblies with the Mango RC SDK. I'm getting the same error that Chris describes above.

I was assuming the wp7 assemblies worked only with Mango since that is where sockets first appeared. What is the intended use for them with the existing WP7 SDK?
Posted: 08/25/2011 16:57:02
by Ken Ivanov (Team)

Existing WP7 assemblies are targeted to Windows Phone 7.0 platform (not Mango). Yes, the absence of sockets makes it hard to use transport components, yet non-transport ones (OpenPGP, XML, PDF, Office) can be used normally on WP 7.0.
Posted: 10/25/2011 10:02:09
by Ben Williams (Basic support level)
Joined: 08/16/2011
Posts: 6

Does the released version support SSL over sockets on WP 7.5?
Posted: 10/25/2011 10:07:32
by Vsevolod Ievgiienko (Team)


Yes it supports SSL over sockets.



Topic viewed 31935 times

Number of guests: 2, 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!