EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElBuiltInCryptoProvider is protected in V11

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#27839
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 (10.0.233.0) have a public constructor but in the latest version (11.0.243.0) 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:

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


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


Info:
SecureBlackbox 11.0.243.0 (NET_45_Win32)
OS: Win 8 Pro x64
VisualStudio 2013
#27841
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.
#27842
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.

Reply

Statistics

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