EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Best practice on setting license key

Posted: 09/20/2013 10:55:06
by Katit (Basic support level)
Joined: 09/19/2013
Posts: 14

I'm using BlackBoxk inside WCF service processor.
Basically, I have main website which starts application and I understand this is ideal place to run SBUtils.__Global.SetLicenseKey..

However, website does not reference any of the Eldos DLL's. All references made in other DLL where WCF code is.

So. In this case, what is the best practice? If I use Blackbox only in one specific class, is it OK to call SetLicenseKey in constructor? From what I understand this is static method and in this case it will be called multiple times, on every request to my service.

Is it OK?
Posted: 09/20/2013 11:10:23
by Eugene Mayevski (Team)

You can set the license key anywhere and any number of times - the only thing you must ensure is that it's called before any functionality of SecureBlackbox is used. The reason is that the key contains cryptographic primitives, and without setting a key SecureBlackbox will give wrong results or won't work at all.

Sincerely yours
Eugene Mayevski



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