EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElSignedCMSMessage.Save silverlight problem

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 10/07/2013 08:39:18
by EasySign RO (Standard support level)
Joined: 01/17/2008
Posts: 2


We have a problem with TElSignedCMSMessage.Save method in silverlight. After we upgrade a signature we call
msSave.Position = 0;
SignedCMSMessage.Open(msSave, null, msSave.Length, 0);

to save an also to serialize the signature.
The problem is that after we save the SignedCMSMessage to a memory stream and then reopen it the signature doesn't seems to be upgraded.We guess that the problem is in the Save method because the signature upgraded from SignedCMSMessage object seems ok until we reopen the SignedCMSMessage object, using the memory stream.

Do you have any ideas?

Thank you.
Posted: 10/07/2013 08:49:11
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Please try to call SignedCMSMessage.Close before Open and check if it solves the problem.
Posted: 10/07/2013 11:10:11
by EasySign RO (Standard support level)
Joined: 01/17/2008
Posts: 2


It's works now, thank you.



Topic viewed 454 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!