EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Removing unwanted CryptoSuites from TLS Client Hello

Posted: 05/11/2008 18:46:12
by  Joseph Wallbridge

SecureClient = New SBClient.TElSecureClient(Nothing)
SecureClient.Enabled = True
SecureClient.Versions = SBConstants.__Global.sbTLS1
For n = 0 To UBound(Suites)
SecureClient.CipherSuites(n) = False
SecureClient.CipherSuitePriorities(CryptoSuite) = 100
SecureClient.CipherSuites(CryptoSuite) = True
inBuffer = New Byte(8192) {}

This results in 10 cypher suits being offered, The one I want plus suites 50 through 58 which are marked as unknown.

This may not effect the security but I would like to fix it if I could
Posted: 05/12/2008 02:44:40
by Ken Ivanov (Team)

Please use the SB_SUITE_FIRST and SB_SUITE_LAST constants to specify the bounds of ciphersuite constant list:

For i = SBConstants.Unit.SB_SUITE_FIRST To SBConstants.Unit.SB_SUITE_LAST
client.CipherSuites(i) = False
Posted: 05/12/2008 09:10:09
by  Joseph Wallbridge
Thank you very much. That solved the problem.

I had to manually fill a combo box with the 78 crypto suites in order for the user to select the suite to be used.

Is there a way to enumerate the names of the crypto suite

Tony Wallbridge
Posted: 05/12/2008 09:17:01
by Ken Ivanov (Team)

No, sorry. We intentionally did not define textual ciphersuite names, as each user application uses its own way to display them in user-friendly way.
Posted: 05/12/2008 09:19:43
by  Joseph Wallbridge
Thats OK I have the list built now

Thank you Very much



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