@@ -116,14 +116,14 @@ private static CipherSuiteCollection GetTls1SupportedCiphers()
116116 scs . Add ( ( 0x00 << 0x08 ) | 0x09 , "TLS_RSA_WITH_DES_CBC_SHA" , CipherAlgorithmType . Des , HashAlgorithmType . Sha1 , ExchangeAlgorithmType . RsaKeyX , false , true , 8 , 8 , 56 , 8 , 8 ) ;
117117
118118 // Supported exportable ciphers
119- scs . Add ( ( 0x00 << 0x08 ) | 0x03 , "TLS_RSA_EXPORT_WITH_RC4_40_MD5" , CipherAlgorithmType . Rc4 , HashAlgorithmType . Md5 , ExchangeAlgorithmType . RsaKeyX , true , false , 5 , 16 , 40 , 0 , 0 ) ;
120- scs . Add ( ( 0x00 << 0x08 ) | 0x06 , "TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5" , CipherAlgorithmType . Rc2 , HashAlgorithmType . Md5 , ExchangeAlgorithmType . RsaKeyX , true , true , 5 , 16 , 40 , 8 , 8 ) ;
121- scs . Add ( ( 0x00 << 0x08 ) | 0x08 , "TLS_RSA_EXPORT_WITH_DES40_CBC_SHA" , CipherAlgorithmType . Des , HashAlgorithmType . Sha1 , ExchangeAlgorithmType . RsaKeyX , true , true , 5 , 8 , 40 , 8 , 8 ) ;
122- scs . Add ( ( 0x00 << 0x08 ) | 0x60 , "TLS_RSA_EXPORT_WITH_RC4_56_MD5" , CipherAlgorithmType . Rc4 , HashAlgorithmType . Md5 , ExchangeAlgorithmType . RsaKeyX , true , false , 7 , 16 , 56 , 0 , 0 ) ;
123- scs . Add ( ( 0x00 << 0x08 ) | 0x61 , "TLS_RSA_EXPORT_WITH_RC2_CBC_56_MD5" , CipherAlgorithmType . Rc2 , HashAlgorithmType . Md5 , ExchangeAlgorithmType . RsaKeyX , true , true , 7 , 16 , 56 , 8 , 8 ) ;
119+ // scs.Add((0x00 << 0x08) | 0x03, "TLS_RSA_EXPORT_WITH_RC4_40_MD5", CipherAlgorithmType.Rc4, HashAlgorithmType.Md5, ExchangeAlgorithmType.RsaKeyX, true, false, 5, 16, 40, 0, 0);
120+ // scs.Add((0x00 << 0x08) | 0x06, "TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5", CipherAlgorithmType.Rc2, HashAlgorithmType.Md5, ExchangeAlgorithmType.RsaKeyX, true, true, 5, 16, 40, 8, 8);
121+ // scs.Add((0x00 << 0x08) | 0x08, "TLS_RSA_EXPORT_WITH_DES40_CBC_SHA", CipherAlgorithmType.Des, HashAlgorithmType.Sha1, ExchangeAlgorithmType.RsaKeyX, true, true, 5, 8, 40, 8, 8);
122+ // scs.Add((0x00 << 0x08) | 0x60, "TLS_RSA_EXPORT_WITH_RC4_56_MD5", CipherAlgorithmType.Rc4, HashAlgorithmType.Md5, ExchangeAlgorithmType.RsaKeyX, true, false, 7, 16, 56, 0, 0);
123+ // scs.Add((0x00 << 0x08) | 0x61, "TLS_RSA_EXPORT_WITH_RC2_CBC_56_MD5", CipherAlgorithmType.Rc2, HashAlgorithmType.Md5, ExchangeAlgorithmType.RsaKeyX, true, true, 7, 16, 56, 8, 8);
124124 // 56 bits but we use 64 bits because of parity (DES is really 56 bits)
125- scs . Add ( ( 0x00 << 0x08 ) | 0x62 , "TLS_RSA_EXPORT_WITH_DES_CBC_56_SHA" , CipherAlgorithmType . Des , HashAlgorithmType . Sha1 , ExchangeAlgorithmType . RsaKeyX , true , true , 8 , 8 , 64 , 8 , 8 ) ;
126- scs . Add ( ( 0x00 << 0x08 ) | 0x64 , "TLS_RSA_EXPORT_WITH_RC4_56_SHA" , CipherAlgorithmType . Rc4 , HashAlgorithmType . Sha1 , ExchangeAlgorithmType . RsaKeyX , true , false , 7 , 16 , 56 , 0 , 0 ) ;
125+ // scs.Add((0x00 << 0x08) | 0x62, "TLS_RSA_EXPORT_WITH_DES_CBC_56_SHA", CipherAlgorithmType.Des, HashAlgorithmType.Sha1, ExchangeAlgorithmType.RsaKeyX, true, true, 8, 8, 64, 8, 8);
126+ // scs.Add((0x00 << 0x08) | 0x64, "TLS_RSA_EXPORT_WITH_RC4_56_SHA", CipherAlgorithmType.Rc4, HashAlgorithmType.Sha1, ExchangeAlgorithmType.RsaKeyX, true, false, 7, 16, 56, 0, 0);
127127
128128 // Default CipherSuite
129129 // scs.Add(0, "TLS_NULL_WITH_NULL_NULL", CipherAlgorithmType.None, HashAlgorithmType.None, ExchangeAlgorithmType.None, true, false, 0, 0, 0, 0, 0);
@@ -195,14 +195,14 @@ private static CipherSuiteCollection GetSsl3SupportedCiphers()
195195 scs . Add ( ( 0x00 << 0x08 ) | 0x09 , "SSL_RSA_WITH_DES_CBC_SHA" , CipherAlgorithmType . Des , HashAlgorithmType . Sha1 , ExchangeAlgorithmType . RsaKeyX , false , true , 8 , 8 , 56 , 8 , 8 ) ;
196196
197197 // Supported exportable ciphers
198- scs . Add ( ( 0x00 << 0x08 ) | 0x03 , "SSL_RSA_EXPORT_WITH_RC4_40_MD5" , CipherAlgorithmType . Rc4 , HashAlgorithmType . Md5 , ExchangeAlgorithmType . RsaKeyX , true , false , 5 , 16 , 40 , 0 , 0 ) ;
199- scs . Add ( ( 0x00 << 0x08 ) | 0x06 , "SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5" , CipherAlgorithmType . Rc2 , HashAlgorithmType . Md5 , ExchangeAlgorithmType . RsaKeyX , true , true , 5 , 16 , 40 , 8 , 8 ) ;
200- scs . Add ( ( 0x00 << 0x08 ) | 0x08 , "SSL_RSA_EXPORT_WITH_DES40_CBC_SHA" , CipherAlgorithmType . Des , HashAlgorithmType . Sha1 , ExchangeAlgorithmType . RsaKeyX , true , true , 5 , 8 , 40 , 8 , 8 ) ;
201- scs . Add ( ( 0x00 << 0x08 ) | 0x60 , "SSL_RSA_EXPORT_WITH_RC4_56_MD5" , CipherAlgorithmType . Rc4 , HashAlgorithmType . Md5 , ExchangeAlgorithmType . RsaKeyX , true , false , 7 , 16 , 56 , 0 , 0 ) ;
202- scs . Add ( ( 0x00 << 0x08 ) | 0x61 , "SSL_RSA_EXPORT_WITH_RC2_CBC_56_MD5" , CipherAlgorithmType . Rc2 , HashAlgorithmType . Md5 , ExchangeAlgorithmType . RsaKeyX , true , true , 7 , 16 , 56 , 8 , 8 ) ;
198+ // scs.Add((0x00 << 0x08) | 0x03, "SSL_RSA_EXPORT_WITH_RC4_40_MD5", CipherAlgorithmType.Rc4, HashAlgorithmType.Md5, ExchangeAlgorithmType.RsaKeyX, true, false, 5, 16, 40, 0, 0);
199+ // scs.Add((0x00 << 0x08) | 0x06, "SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5", CipherAlgorithmType.Rc2, HashAlgorithmType.Md5, ExchangeAlgorithmType.RsaKeyX, true, true, 5, 16, 40, 8, 8);
200+ // scs.Add((0x00 << 0x08) | 0x08, "SSL_RSA_EXPORT_WITH_DES40_CBC_SHA", CipherAlgorithmType.Des, HashAlgorithmType.Sha1, ExchangeAlgorithmType.RsaKeyX, true, true, 5, 8, 40, 8, 8);
201+ // scs.Add((0x00 << 0x08) | 0x60, "SSL_RSA_EXPORT_WITH_RC4_56_MD5", CipherAlgorithmType.Rc4, HashAlgorithmType.Md5, ExchangeAlgorithmType.RsaKeyX, true, false, 7, 16, 56, 0, 0);
202+ // scs.Add((0x00 << 0x08) | 0x61, "SSL_RSA_EXPORT_WITH_RC2_CBC_56_MD5", CipherAlgorithmType.Rc2, HashAlgorithmType.Md5, ExchangeAlgorithmType.RsaKeyX, true, true, 7, 16, 56, 8, 8);
203203 // 56 bits but we use 64 bits because of parity (DES is really 56 bits)
204- scs . Add ( ( 0x00 << 0x08 ) | 0x62 , "SSL_RSA_EXPORT_WITH_DES_CBC_56_SHA" , CipherAlgorithmType . Des , HashAlgorithmType . Sha1 , ExchangeAlgorithmType . RsaKeyX , true , true , 8 , 8 , 64 , 8 , 8 ) ;
205- scs . Add ( ( 0x00 << 0x08 ) | 0x64 , "SSL_RSA_EXPORT_WITH_RC4_56_SHA" , CipherAlgorithmType . Rc4 , HashAlgorithmType . Sha1 , ExchangeAlgorithmType . RsaKeyX , true , false , 7 , 16 , 56 , 0 , 0 ) ;
204+ // scs.Add((0x00 << 0x08) | 0x62, "SSL_RSA_EXPORT_WITH_DES_CBC_56_SHA", CipherAlgorithmType.Des, HashAlgorithmType.Sha1, ExchangeAlgorithmType.RsaKeyX, true, true, 8, 8, 64, 8, 8);
205+ // scs.Add((0x00 << 0x08) | 0x64, "SSL_RSA_EXPORT_WITH_RC4_56_SHA", CipherAlgorithmType.Rc4, HashAlgorithmType.Sha1, ExchangeAlgorithmType.RsaKeyX, true, false, 7, 16, 56, 0, 0);
206206
207207 // Default CipherSuite
208208 // scs.Add(0, "SSL_NULL_WITH_NULL_NULL", CipherAlgorithmType.None, HashAlgorithmType.None, true, false, 0, 0, 0, 0, 0);
0 commit comments