EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElBuiltInCryptoProvider is protected in V11

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 01/07/2014 08:10:25
by Ilija Pavlov (Standard support level)
Joined: 12/06/2013
Posts: 13

The TElBuiltInCryptoProvider class in SecureBlackbox V10 ( have a public constructor but in the latest version ( it becomes 'inaccessible due to its protection level'. The constructor is now protected internal.

Is there any information on the site about this change?
How should this be used now?

(It is the same for TElWin32CryptoProvider).

Example usage:

if(TElHashFunction.IsAlgorithmSupported(SBConstants.Unit.SB_ALGORITHM_DGST_MD5, new TElBuiltInCryptoProvider()))

TElHashFunction hashFunction = new TElHashFunction(SBConstants.Unit.SB_ALGORITHM_DGST_MD5, new TElWin32CryptoProvider());

SecureBlackbox (NET_45_Win32)
OS: Win 8 Pro x64
VisualStudio 2013
Posted: 01/07/2014 08:16:46
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

You should aquire instances of cryptoproviders using SBCryptoProvBuiltIn.Unit.BuiltInCryptoProvider() and SBCryptoProvWin32.Unit.Win32CryptoProvider() methods.
Posted: 01/07/2014 08:42:07
by Vsevolod Ievgiienko (EldoS Corp.)

BTW, why do you need to create cryptoprovider objects? TElBuiltInCryptoProvider is used by default and may be ommited in TElHashFunction constructor. Also if an algorithm is supported by TElBuiltInCryptoProvider it doesn't mean that its supported by TElWin32CryptoProvider.



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