EldoS | Feel safer!

Software components for data protection, secure storage and transfer

XML digital signature in Silverlight 4 and 5

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
Posted: 03/16/2012 05:39:12
by Dmytro Bogatskyy (EldoS Corp.)

The only problem I have (or mayve my lack of knowlage on digital signing) is that after I sign an XML and after than change some value in a child node the Verify function still says: Signature and references validated successfully. Am I doing something wrong or this is not the way to check if the content wasn't modified?

It depends on what you have signed. It is possible that you are modifying data that you didn't sign. Are you referencing a whole document or a specific element or external data?
Could you please attach here or to helpdesk a signed xml document.
Posted: 03/16/2012 07:07:48
by Dragomir Gerov (Basic support level)
Joined: 03/16/2012
Posts: 3


I've experienced similar problem as Redman. I'm having Silverlight 5 application.

TElWinCertStorage WinCertStorage = new TElWinCertStorage();
WinCertStorage.SystemStores.Text = "MY";

And i get the same error as him on the second line.
I'm referencing the files from SILVERLIGHT_50 folder.
Do you have any guesses?

Posted: 03/16/2012 07:12:24
by Vsevolod Ievgiienko (EldoS Corp.)

Do you have any guesses?

First of all check if the problem occurs with the latest SBB build.
Posted: 03/16/2012 07:30:10
by Dragomir Gerov (Basic support level)
Joined: 03/16/2012
Posts: 3

Where can i get the latest SBB build? Because i don't see anywhere even in My Control Center a download section.
Posted: 03/16/2012 07:33:56
by Vsevolod Ievgiienko (EldoS Corp.)

Posted: 03/16/2012 07:43:21
by Eugene Mayevski (EldoS Corp.)

Actually, Silverlight 5 assemblies the OP is using are a private build. I'll put them to quick updates in an hour.

Sincerely yours
Eugene Mayevski
Posted: 03/16/2012 07:48:23
by Dragomir Gerov (Basic support level)
Joined: 03/16/2012
Posts: 3

Great! Thanks

Because in the changes.txt is written:


SecureBlackbox - version 9.1.215 - Released February 20, 2012

Best Regards,
Dragomir Gerov
Posted: 03/16/2012 07:59:52
by Eugene Mayevski (EldoS Corp.)

BTW, Dragomir, I assume you have a license (as you reference My Control Center), so please link the license ticket to your account so that we could recognize you as a licensed customer (this fact is shown to us by the site when you have the ticket linked).

Sincerely yours
Eugene Mayevski
Posted: 03/16/2012 08:14:45
by Eugene Mayevski (EldoS Corp.)

A link to updated assemblies has been published on Release Downloads page (see the bottom of the page).

Sincerely yours
Eugene Mayevski
Posted: 03/16/2012 08:18:47
by Redman  (Basic support level)
Joined: 03/14/2012
Posts: 8

I have another question. Silverlight 5 has an in-browser elevated permissions option. When I run it on localhost it works ok, but when deployed on another server it fails with:

SCRIPT5022: Unhandled Error in Silverlight Application Attempt by security transparent method 'SBUtils.__Global.AllocCoTaskMem(Int32)' to call native code through method 'SBUtils.__Global.CoTaskMemAlloc(Int32)' failed.  Methods must be security critical or security safe-critical to call native code.   at SBUtils.__Global.AllocCoTaskMem(Int32 Size)
   at SBUtils.__Global.StringToCoTaskMemUni(Stri ng s)
   at SBWinCertStorage.TElWinCertStorage.Open()
   at SBWinCertStorage.TElWinCertStorage.HandleStoresChange(Object Sender)
   at SBStringList.TElStringList.TriggerChange()
   at SBStringList.TElStringList.EndUpdate()
   at SBCertValidator.TElX509CertificateValidator.InitializeWinStorages()
   at SLCert5.MainPage..ctor()
   at SLCert5.App.Application_Startup(Object sender, StartupEventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

I added that remote site to Trusted sites but still the same error. Is it possible to use this library (Windows Certificate Store) in-browser on a remote site?
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.



Topic viewed 5717 times

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


Back to top

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

Got it!