From 7cfe88eaacf401cd1132bf14cff91d46748ef9ff Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Wed, 12 Apr 2023 15:36:59 +0300
Subject: [PATCH 01/21] Generate SslConnectionInfo.Unix.cs with T4 template
---
.../src/System.Net.Security.csproj | 16 +-
.../Net/Security/SslConnectionInfo.Unix.cs | 2717 ++++++++++++-
.../Net/Security/SslConnectionInfo.Unix.tt | 50 +
.../Net/Security/TlsCipherSuiteData.Lookup.cs | 3394 -----------------
.../Net/Security/TlsCipherSuiteData.Lookup.tt | 45 -
.../System/Net/Security/TlsCipherSuiteData.cs | 70 -
.../TlsCipherSuiteNameParser.ttinclude | 22 +
7 files changed, 2788 insertions(+), 3526 deletions(-)
create mode 100644 src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
delete mode 100644 src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.Lookup.cs
delete mode 100644 src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.Lookup.tt
delete mode 100644 src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.cs
diff --git a/src/libraries/System.Net.Security/src/System.Net.Security.csproj b/src/libraries/System.Net.Security/src/System.Net.Security.csproj
index 56bf536c440c18..54f8c9feeb4d6f 100644
--- a/src/libraries/System.Net.Security/src/System.Net.Security.csproj
+++ b/src/libraries/System.Net.Security/src/System.Net.Security.csproj
@@ -122,17 +122,17 @@
-
+
True
True
- TlsCipherSuiteData.Lookup.tt
+ SslConnectionInfo.Unix.tt
-
+
True
True
- TlsCipherSuiteData.Lookup.tt
+ SslConnectionInfo.Unix.tt
@@ -140,14 +140,14 @@
TextTemplatingFileGenerator
TlsCipherSuite.cs
-
+
TextTemplatingFileGenerator
- TlsCipherSuiteData.Lookup.cs
+ SslConnectionInfo.Unix.cs
-
+
@@ -285,8 +285,6 @@
Link="Common\System\Net\Security\Unix\SecChannelBindings.cs" />
-
-
+<#@ import namespace="System" #>
+<#@ assembly name="System.Core" #>
+<#@ assembly name="System.Net.Primitives" #>
+<#@ import namespace="System.Linq" #>
+<#@ import namespace="System.Text" #>
+<#@ import namespace="System.Collections.Generic" #>
+<#@ output extension=".cs" #>
+<#@ include file="TlsCipherSuiteNameParser.ttinclude" #><#@
+ include file="TlsCipherSuite.cs" #>
+<# Array enumValues = typeof(TlsCipherSuite).GetEnumValues(); #>
+
+
+using System.Diagnostics;
+using System.Security.Authentication;
+
+namespace System.Net.Security
+{
+ internal partial struct SslConnectionInfo
+ {
+ private void MapCipherSuite(TlsCipherSuite cipherSuite)
+ {
+ TlsCipherSuite = cipherSuite;
+ KeyExchKeySize = 0;
+
+ switch (cipherSuite)
+ {
+<#
+foreach (TlsCipherSuite val in enumValues)
+{
+ TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
+#>
+ case TlsCipherSuite.<#= val #>:
+ KeyExchangeAlg = (int)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #>;
+ DataCipherAlg = (int)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #>;
+ DataKeySize = <#= data.CipherAlgorithmStrength #>;
+ DataHashAlg = (int)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #>;
+ DataHashKeySize = <#= EnumHelpers.GetHashSize(data.MACAlgorithm) #>;
+ break;
+
+<#
+}
+#>
+ default:
+ Debug.Fail($"No mapping found for cipherSuite {cipherSuite}");
+ break;
+ }
+ }
+ }
+}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.Lookup.cs b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.Lookup.cs
deleted file mode 100644
index 9a97c04b1b6347..00000000000000
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.Lookup.cs
+++ /dev/null
@@ -1,3394 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-
-// This file has been auto-generated. Do not edit by hand.
-// Instead open Developer Command prompt and run: TextTransform FileName.tt
-// Or set AllowTlsCipherSuiteGeneration=true and open VS and edit there directly
-
-// This line is needed so that file compiles both as a T4 template and C# file
-
-using System.Collections.Generic;
-using System.Security.Authentication;
-
-namespace System.Net.Security
-{
- internal partial struct TlsCipherSuiteData
- {
- private const int LookupCount = 337;
-
- private static readonly Dictionary s_tlsLookup =
- new Dictionary(LookupCount)
- {
- {
- TlsCipherSuite.TLS_NULL_WITH_NULL_NULL,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_NULL_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Rc2,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 56,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 56,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 56,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 56,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 56,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 56,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 56,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 56,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Rc2,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Des,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Rc2,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 40,
- MACAlgorithm = HashAlgorithmType.Md5,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_AES_128_CCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_AES_128_CCM_8_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Rc4,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.TripleDes,
- CipherAlgorithmStrength = 168,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha1,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Null,
- CipherAlgorithmStrength = 0,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.Sha256,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.Sha384,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.None,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.RsaKeyX,
- CipherAlgorithm = CipherAlgorithmType.None,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes256,
- CipherAlgorithmStrength = 256,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- {
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.DiffieHellman,
- CipherAlgorithm = CipherAlgorithmType.Aes128,
- CipherAlgorithmStrength = 128,
- MACAlgorithm = HashAlgorithmType.None,
- }
- },
- };
- }
-}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.Lookup.tt b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.Lookup.tt
deleted file mode 100644
index a36c425ccb0a8d..00000000000000
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.Lookup.tt
+++ /dev/null
@@ -1,45 +0,0 @@
-<#@ template debug="false" hostspecific="false" language="C#" #>
-<#@ import namespace="System" #>
-<#@ assembly name="System.Core" #>
-<#@ assembly name="System.Net.Primitives" #>
-<#@ import namespace="System.Linq" #>
-<#@ import namespace="System.Text" #>
-<#@ import namespace="System.Collections.Generic" #>
-<#@ output extension=".cs" #>
-<#@ include file="TlsCipherSuiteNameParser.ttinclude" #><#@
- include file="TlsCipherSuite.cs" #>
-<# Array enumValues = typeof(TlsCipherSuite).GetEnumValues(); #>
-
-using System.Collections.Generic;
-using System.Security.Authentication;
-
-namespace System.Net.Security
-{
- internal partial struct TlsCipherSuiteData
- {
- private const int LookupCount = <#= enumValues.Length #>;
-
- private static readonly Dictionary s_tlsLookup =
- new Dictionary(LookupCount)
- {
-<#
-foreach (TlsCipherSuite val in enumValues)
-{
- TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
-#>
- {
- TlsCipherSuite.<#= val #>,
- new TlsCipherSuiteData()
- {
- KeyExchangeAlgorithm = ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #>,
- CipherAlgorithm = CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #>,
- CipherAlgorithmStrength = <#= data.CipherAlgorithmStrength #>,
- MACAlgorithm = HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #>,
- }
- },
-<#
-}
-#>
- };
- }
-}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.cs b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.cs
deleted file mode 100644
index c422b9a7528cb2..00000000000000
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteData.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-
-using System;
-using System.Diagnostics;
-using System.Security.Authentication;
-
-namespace System.Net.Security
-{
- internal partial struct TlsCipherSuiteData
- {
- internal ExchangeAlgorithmType KeyExchangeAlgorithm;
- // The Key Exchange size isn't part of the CipherSuite
- internal CipherAlgorithmType CipherAlgorithm;
- internal int CipherAlgorithmStrength;
- internal HashAlgorithmType MACAlgorithm;
- internal int MACAlgorithmStrength => GetHashSize(MACAlgorithm);
-
-#if DEBUG
- static TlsCipherSuiteData()
- {
- Debug.Assert(
- s_tlsLookup.Count == LookupCount,
- $"Lookup dictionary was of size {s_tlsLookup.Count} instead of {LookupCount}");
-
- foreach (TlsCipherSuite value in Enum.GetValues())
- {
- Debug.Assert(s_tlsLookup.ContainsKey(value), $"No mapping found for {value} ({value:X})");
- }
- }
-
- public override string ToString()
- {
- return $"Kx={KeyExchangeAlgorithm} Enc={CipherAlgorithm} [{CipherAlgorithmStrength}] Mac={MACAlgorithm} [{MACAlgorithmStrength}]";
- }
-#endif
-
- public static TlsCipherSuiteData GetCipherSuiteData(TlsCipherSuite cipherSuite)
- {
- if (s_tlsLookup.TryGetValue(cipherSuite, out TlsCipherSuiteData mapping))
- {
- return mapping;
- }
-
- Debug.Fail($"No mapping found for cipherSuite {cipherSuite}");
- return default(TlsCipherSuiteData);
- }
-
- private static int GetHashSize(HashAlgorithmType hash)
- {
- switch (hash)
- {
- case HashAlgorithmType.None:
- return 0;
- case HashAlgorithmType.Md5:
- return 128;
- case HashAlgorithmType.Sha1:
- return 160;
- case HashAlgorithmType.Sha256:
- return 256;
- case HashAlgorithmType.Sha384:
- return 384;
- case HashAlgorithmType.Sha512:
- return 512;
- default:
- throw new ArgumentOutOfRangeException(nameof(hash));
- }
- }
- }
-}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
index 7a3dee3296d804..7a48d5534a9eb6 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
@@ -150,6 +150,28 @@ internal static class EnumHelpers
throw new Exception($"Value `HashAlgorithmType.{val}` does not have framework corresponding name. See TlsCipherSuiteNameParser.ttinclude: ToFrameworkName.");
}
}
+
+ public static int GetHashSize(HashAlgorithmType hash)
+ {
+ switch (hash)
+ {
+ case HashAlgorithmType.Aead:
+ case HashAlgorithmType.None:
+ return 0;
+ case HashAlgorithmType.Md5:
+ return 128;
+ case HashAlgorithmType.Sha1:
+ return 160;
+ case HashAlgorithmType.Sha256:
+ return 256;
+ case HashAlgorithmType.Sha384:
+ return 384;
+ case HashAlgorithmType.Sha512:
+ return 512;
+ default:
+ throw new ArgumentOutOfRangeException(Enum.GetName(hash));
+ }
+ }
}
// Simplified structure which we use in the product code
From 4104ab69ea3de27a2ad42ff9867022a91f3da6b0 Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Thu, 13 Apr 2023 08:59:33 +0300
Subject: [PATCH 02/21] Fix indentation
---
.../src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
index 7a48d5534a9eb6..afddfaa3bd239d 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
@@ -157,7 +157,7 @@ internal static class EnumHelpers
{
case HashAlgorithmType.Aead:
case HashAlgorithmType.None:
- return 0;
+ return 0;
case HashAlgorithmType.Md5:
return 128;
case HashAlgorithmType.Sha1:
From db1307fb77732bc023df378475c50ab31efa6d26 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Fri, 14 Apr 2023 19:27:24 +0300
Subject: [PATCH 03/21] Address CR feedback
---
.../Net/Security/SslConnectionInfo.Unix.cs | 883 +-----------------
.../Net/Security/SslConnectionInfo.Unix.tt | 58 +-
.../TlsCipherSuiteNameParser.ttinclude | 22 -
3 files changed, 89 insertions(+), 874 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 30603c101b7567..83ecac7ed8d9b1 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,30 +19,30 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
+ // set defaults to most common values to reduce the IL size
+ KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
+ DataCipherAlg = (int)CipherAlgorithmType.Null;
+ DataKeySize = 128;
+ DataHashAlg = (int)HashAlgorithmType.None;
+ DataHashKeySize = 0;
+
switch (cipherSuite)
{
case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5:
@@ -50,23 +50,18 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5:
@@ -74,15 +69,12 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Rc2;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA:
@@ -90,7 +82,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA:
@@ -98,7 +89,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 56;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA:
@@ -106,143 +96,107 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 56;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 56;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 56;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 56;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 56;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA:
@@ -250,7 +204,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 56;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA:
@@ -258,23 +211,18 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5:
@@ -282,7 +230,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 56;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5:
@@ -290,23 +237,18 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA:
@@ -314,7 +256,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA:
@@ -322,7 +263,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Rc2;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA:
@@ -330,7 +270,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5:
@@ -338,7 +277,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Des;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5:
@@ -346,7 +284,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Rc2;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5:
@@ -354,79 +291,54 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
DataKeySize = 40;
DataHashAlg = (int)HashAlgorithmType.Md5;
- DataHashKeySize = 128;
break;
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA:
@@ -434,63 +346,48 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256:
@@ -498,135 +395,92 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA:
@@ -634,55 +488,42 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA:
@@ -690,15 +531,12 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA:
@@ -706,47 +544,34 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA:
@@ -754,15 +579,12 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA:
@@ -770,207 +592,130 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384:
@@ -978,63 +723,45 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384:
@@ -1042,71 +769,49 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256:
@@ -1114,287 +819,198 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_AES_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_AES_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_AES_128_CCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA:
@@ -1402,7 +1018,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA:
@@ -1410,7 +1025,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA:
@@ -1418,31 +1032,24 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA:
@@ -1450,7 +1057,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA:
@@ -1458,7 +1064,6 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA:
@@ -1466,215 +1071,140 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
DataKeySize = 168;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha1;
- DataHashKeySize = 160;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
DataKeySize = 0;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384:
@@ -1682,319 +1212,203 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384:
@@ -2002,31 +1416,23 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384:
@@ -2034,351 +1440,221 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384:
@@ -2386,31 +1662,23 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384:
@@ -2418,309 +1686,222 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 128;
DataHashAlg = (int)HashAlgorithmType.Sha256;
- DataHashKeySize = 256;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
DataHashAlg = (int)HashAlgorithmType.Sha384;
- DataHashKeySize = 384;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256:
KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
DataCipherAlg = (int)CipherAlgorithmType.None;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes256;
DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
break;
default:
Debug.Fail($"No mapping found for cipherSuite {cipherSuite}");
+ KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
+ DataKeySize = 0;
break;
}
+
+ DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
+
+ static int GetHashSize(HashAlgorithmType hash)
+ {
+ switch (hash)
+ {
+ case HashAlgorithmType.None:
+ return 0;
+ case HashAlgorithmType.Md5:
+ return 128;
+ case HashAlgorithmType.Sha1:
+ return 160;
+ case HashAlgorithmType.Sha256:
+ return 256;
+ case HashAlgorithmType.Sha384:
+ return 384;
+ case HashAlgorithmType.Sha512:
+ return 512;
+ default:
+ throw new ArgumentOutOfRangeException(nameof(hash));
+ }
+ }
}
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 6cf17757e3949f..e345394ea5294f 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -23,6 +23,13 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
+ // set most common values as default to reduce the IL size
+ KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
+ DataCipherAlg = (int)CipherAlgorithmType.Null;
+ DataKeySize = 128;
+ DataHashAlg = (int)HashAlgorithmType.None;
+ DataHashKeySize = 0;
+
switch (cipherSuite)
{
<#
@@ -31,11 +38,35 @@ foreach (TlsCipherSuite val in enumValues)
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
#>
case TlsCipherSuite.<#= val #>:
+<#
+ if (EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) != "DiffieHellman")
+ {
+#>
KeyExchangeAlg = (int)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #>;
+<#
+ }
+
+ if (EnumHelpers.ToFrameworkName(data.CipherAlgorithm) != "Null")
+ {
+#>
DataCipherAlg = (int)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #>;
+<#
+ }
+
+ if (data.CipherAlgorithmStrength != 128)
+ {
+#>
DataKeySize = <#= data.CipherAlgorithmStrength #>;
+<#
+ }
+
+ if (EnumHelpers.ToFrameworkName(data.MACAlgorithm) != "None")
+ {
+#>
DataHashAlg = (int)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #>;
- DataHashKeySize = <#= EnumHelpers.GetHashSize(data.MACAlgorithm) #>;
+<#
+ }
+#>
break;
<#
@@ -43,8 +74,33 @@ foreach (TlsCipherSuite val in enumValues)
#>
default:
Debug.Fail($"No mapping found for cipherSuite {cipherSuite}");
+ KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
+ DataKeySize = 0;
break;
}
+
+ DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
+
+ static int GetHashSize(HashAlgorithmType hash)
+ {
+ switch (hash)
+ {
+ case HashAlgorithmType.None:
+ return 0;
+ case HashAlgorithmType.Md5:
+ return 128;
+ case HashAlgorithmType.Sha1:
+ return 160;
+ case HashAlgorithmType.Sha256:
+ return 256;
+ case HashAlgorithmType.Sha384:
+ return 384;
+ case HashAlgorithmType.Sha512:
+ return 512;
+ default:
+ throw new ArgumentOutOfRangeException(nameof(hash));
+ }
+ }
}
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
index afddfaa3bd239d..7a3dee3296d804 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
@@ -150,28 +150,6 @@ internal static class EnumHelpers
throw new Exception($"Value `HashAlgorithmType.{val}` does not have framework corresponding name. See TlsCipherSuiteNameParser.ttinclude: ToFrameworkName.");
}
}
-
- public static int GetHashSize(HashAlgorithmType hash)
- {
- switch (hash)
- {
- case HashAlgorithmType.Aead:
- case HashAlgorithmType.None:
- return 0;
- case HashAlgorithmType.Md5:
- return 128;
- case HashAlgorithmType.Sha1:
- return 160;
- case HashAlgorithmType.Sha256:
- return 256;
- case HashAlgorithmType.Sha384:
- return 384;
- case HashAlgorithmType.Sha512:
- return 512;
- default:
- throw new ArgumentOutOfRangeException(Enum.GetName(hash));
- }
- }
}
// Simplified structure which we use in the product code
From b3d656bc3f17b5bcbd6d363e6f0698b930691dbc Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 00:04:16 +0300
Subject: [PATCH 04/21] Encode 16x4 bits as ulong
---
.../Net/Security/SslConnectionInfo.Unix.cs | 3892 +++++++++--------
.../Net/Security/SslConnectionInfo.Unix.tt | 59 +-
2 files changed, 2046 insertions(+), 1905 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 83ecac7ed8d9b1..54afb4875056c7 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,1867 +19,2039 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- // set defaults to most common values to reduce the IL size
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
-
- switch (cipherSuite)
+ ulong data = cipherSuite switch
{
- case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataKeySize = 0;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Rc2;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 56;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 56;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 56;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 56;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 56;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 56;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 56;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 56;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Rc2;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Des;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Rc2;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataKeySize = 40;
- DataHashAlg = (int)HashAlgorithmType.Md5;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Rc4;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.TripleDes;
- DataKeySize = 168;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha1;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384:
- DataKeySize = 0;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataHashAlg = (int)HashAlgorithmType.Sha256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- DataHashAlg = (int)HashAlgorithmType.Sha384;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256:
- KeyExchangeAlg = (int)ExchangeAlgorithmType.RsaKeyX;
- DataCipherAlg = (int)CipherAlgorithmType.None;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384:
- DataCipherAlg = (int)CipherAlgorithmType.Aes256;
- DataKeySize = 256;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256:
- DataCipherAlg = (int)CipherAlgorithmType.Aes128;
- break;
-
- default:
- Debug.Fail($"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataKeySize = 0;
- break;
- }
-
+ TlsCipherSuite.TLS_NULL_WITH_NULL_NULL =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_NULL_MD5 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)56 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)56 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)56 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)56 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)56 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)56 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)56 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)56 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)40 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_AES_128_CCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_AES_128_CCM_8_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ (ulong)168 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ (ulong)0 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256 =>
+ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256 =>
+ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ (ulong)256 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256 =>
+ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ (ulong)128 << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ _ => 0
+ };
+
+ Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
+
+ KeyExchangeAlg = (int)(data >> (64 - (16 * 1)));
+ DataCipherAlg = (int)(data >> (64 - (16 * 2)));
+ DataKeySize = (int)(data >> (64 - (16 * 3)));
+ DataHashAlg = (int)(data >> (64 - (16 * 4)));
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index e345394ea5294f..7a0332f3f17488 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -23,62 +23,31 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- // set most common values as default to reduce the IL size
- KeyExchangeAlg = (int)ExchangeAlgorithmType.DiffieHellman;
- DataCipherAlg = (int)CipherAlgorithmType.Null;
- DataKeySize = 128;
- DataHashAlg = (int)HashAlgorithmType.None;
- DataHashKeySize = 0;
-
- switch (cipherSuite)
+ ulong data = cipherSuite switch
{
<#
foreach (TlsCipherSuite val in enumValues)
{
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
#>
- case TlsCipherSuite.<#= val #>:
-<#
- if (EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) != "DiffieHellman")
- {
-#>
- KeyExchangeAlg = (int)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #>;
-<#
- }
-
- if (EnumHelpers.ToFrameworkName(data.CipherAlgorithm) != "Null")
- {
-#>
- DataCipherAlg = (int)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #>;
-<#
- }
-
- if (data.CipherAlgorithmStrength != 128)
- {
-#>
- DataKeySize = <#= data.CipherAlgorithmStrength #>;
-<#
- }
-
- if (EnumHelpers.ToFrameworkName(data.MACAlgorithm) != "None")
- {
-#>
- DataHashAlg = (int)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #>;
-<#
- }
-#>
- break;
+ TlsCipherSuite.<#= val #> =>
+ (ulong)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
+ (ulong)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2)) |
+ (ulong)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
+ (ulong)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4)),
<#
}
#>
- default:
- Debug.Fail($"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)ExchangeAlgorithmType.None;
- DataKeySize = 0;
- break;
- }
+ _ => 0
+ };
+
+ Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
+ KeyExchangeAlg = (int)(data >> (64 - (16 * 1)));
+ DataCipherAlg = (int)(data >> (64 - (16 * 2)));
+ DataKeySize = (int)(data >> (64 - (16 * 3)));
+ DataHashAlg = (int)(data >> (64 - (16 * 4)));
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
From 9ba4ed28d2301c1c9272114c6aabb513a6e852dd Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 02:37:38 +0300
Subject: [PATCH 05/21] Fix unpacking
---
.../src/System/Net/Security/SslConnectionInfo.Unix.cs | 8 ++++----
.../src/System/Net/Security/SslConnectionInfo.Unix.tt | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 54afb4875056c7..557a27227a5436 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -2048,10 +2048,10 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)(data >> (64 - (16 * 1)));
- DataCipherAlg = (int)(data >> (64 - (16 * 2)));
- DataKeySize = (int)(data >> (64 - (16 * 3)));
- DataHashAlg = (int)(data >> (64 - (16 * 4)));
+ KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
+ DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
+ DataKeySize = (int)(data >> (64 - (16 * 3)) & 0xFFFF);
+ DataHashAlg = (int)(data >> (64 - (16 * 4)) & 0xFFFF);
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 7a0332f3f17488..8d077cf041c52e 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -44,10 +44,10 @@ foreach (TlsCipherSuite val in enumValues)
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)(data >> (64 - (16 * 1)));
- DataCipherAlg = (int)(data >> (64 - (16 * 2)));
- DataKeySize = (int)(data >> (64 - (16 * 3)));
- DataHashAlg = (int)(data >> (64 - (16 * 4)));
+ KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
+ DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
+ DataKeySize = (int)(data >> (64 - (16 * 3)) & 0xFFFF);
+ DataHashAlg = (int)(data >> (64 - (16 * 4)) & 0xFFFF);
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
From 09cde7d2aad761c648f5b1c79f08ff285158fd27 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 10:15:15 +0300
Subject: [PATCH 06/21] Move packed data selection to private method
---
.../Net/Security/SslConnectionInfo.Unix.cs | 4058 +++++++++--------
.../Net/Security/SslConnectionInfo.Unix.tt | 42 +-
2 files changed, 2054 insertions(+), 2046 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 557a27227a5436..d9c8cae0ad6a2f 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,2033 +19,7 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- ulong data = cipherSuite switch
- {
- TlsCipherSuite.TLS_NULL_WITH_NULL_NULL =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_NULL_MD5 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)56 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)56 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)56 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)56 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)56 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)56 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)56 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)56 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)40 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_AES_128_CCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_AES_128_CCM_8_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- (ulong)168 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- (ulong)0 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256 =>
- (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256 =>
- (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- (ulong)256 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256 =>
- (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- (ulong)128 << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- _ => 0
- };
-
+ ulong data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
@@ -2074,6 +48,2036 @@ static int GetHashSize(HashAlgorithmType hash)
throw new ArgumentOutOfRangeException(nameof(hash));
}
}
+
+ static ulong GetPackedData(TlsCipherSuite cipherSuite)
+ {
+ switch (cipherSuite)
+ {
+ case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ default: return 0;
+ }
+ }
}
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 8d077cf041c52e..3ad8b36e167d35 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -23,25 +23,7 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- ulong data = cipherSuite switch
- {
-<#
-foreach (TlsCipherSuite val in enumValues)
-{
- TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
-#>
- TlsCipherSuite.<#= val #> =>
- (ulong)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
- (ulong)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2)) |
- (ulong)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
- (ulong)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4)),
-
-<#
-}
-#>
- _ => 0
- };
-
+ ulong data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
@@ -70,6 +52,28 @@ foreach (TlsCipherSuite val in enumValues)
throw new ArgumentOutOfRangeException(nameof(hash));
}
}
+
+ static ulong GetPackedData(TlsCipherSuite cipherSuite)
+ {
+ switch (cipherSuite)
+ {
+<#
+foreach (TlsCipherSuite val in enumValues)
+{
+ TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
+#>
+ case TlsCipherSuite.<#= val #>: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4));
+
+<#
+}
+#>
+ default: return 0;
+ }
+ }
}
}
}
From 2d15328aaff6e1d12c7d77fcf8d026c3fdc7572c Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 12:21:45 +0300
Subject: [PATCH 07/21] Switch to ROS version
---
.../Net/Security/SslConnectionInfo.Unix.cs | 4064 ++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 39 +-
2 files changed, 2056 insertions(+), 2047 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index d9c8cae0ad6a2f..c95c0f30a65c40 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,8 +19,8 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- ulong data = GetPackedData(cipherSuite);
- Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
+ Debug.Assert(s_cipherToIndex.IndexOf((int)cipherSuite) > -1, $"No mapping found for cipherSuite {cipherSuite}");
+ ulong data = s_encodedNumber[s_cipherToIndex[(int)cipherSuite + 1]];
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
@@ -48,2036 +48,2036 @@ static int GetHashSize(HashAlgorithmType hash)
throw new ArgumentOutOfRangeException(nameof(hash));
}
}
-
- static ulong GetPackedData(TlsCipherSuite cipherSuite)
- {
- switch (cipherSuite)
- {
- case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
-
- default: return 0;
- }
- }
}
+
+ private static ReadOnlySpan s_cipherToIndex => new[]
+ {
+ (int)TlsCipherSuite.TLS_NULL_WITH_NULL_NULL, 0,
+ (int)TlsCipherSuite.TLS_RSA_WITH_NULL_MD5, 1,
+ (int)TlsCipherSuite.TLS_RSA_WITH_NULL_SHA, 2,
+ (int)TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5, 3,
+ (int)TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5, 4,
+ (int)TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA, 5,
+ (int)TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5, 6,
+ (int)TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA, 7,
+ (int)TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA, 8,
+ (int)TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA, 9,
+ (int)TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA, 10,
+ (int)TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA, 11,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA, 12,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA, 13,
+ (int)TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA, 14,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA, 15,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA, 16,
+ (int)TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, 17,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA, 18,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, 19,
+ (int)TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, 20,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA, 21,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, 22,
+ (int)TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5, 23,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5, 24,
+ (int)TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA, 25,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA, 26,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA, 27,
+ (int)TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA, 28,
+ (int)TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA, 29,
+ (int)TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA, 30,
+ (int)TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA, 31,
+ (int)TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5, 32,
+ (int)TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5, 33,
+ (int)TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5, 34,
+ (int)TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5, 35,
+ (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA, 36,
+ (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA, 37,
+ (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA, 38,
+ (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5, 39,
+ (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5, 40,
+ (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5, 41,
+ (int)TlsCipherSuite.TLS_PSK_WITH_NULL_SHA, 42,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA, 43,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA, 44,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA, 45,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA, 46,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA, 47,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA, 48,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA, 49,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA, 50,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA, 51,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA, 52,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA, 53,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA, 54,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA, 55,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA, 56,
+ (int)TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256, 57,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256, 58,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256, 59,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256, 60,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256, 61,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, 62,
+ (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA, 63,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA, 64,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA, 65,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA, 66,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA, 67,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA, 68,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, 69,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256, 70,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256, 71,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, 72,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, 73,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256, 74,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256, 75,
+ (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, 76,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA, 77,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA, 78,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA, 79,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA, 80,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA, 81,
+ (int)TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA, 82,
+ (int)TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA, 83,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA, 84,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA, 85,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA, 86,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 87,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, 88,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA, 89,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, 90,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA, 91,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA, 92,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA, 93,
+ (int)TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, 94,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA, 95,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA, 96,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA, 97,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA, 98,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 99,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 100,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384, 101,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, 102,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, 103,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256, 104,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, 105,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, 106,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, 107,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, 108,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384, 109,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256, 110,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, 111,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, 112,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, 113,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256, 114,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, 115,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256, 116,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384, 117,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256, 118,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384, 119,
+ (int)TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256, 120,
+ (int)TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384, 121,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256, 122,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 123,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256, 124,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, 125,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, 126,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384, 127,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256, 128,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 129,
+ (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 130,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 131,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256, 132,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256, 133,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256, 134,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, 135,
+ (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256, 136,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256, 137,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256, 138,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256, 139,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256, 140,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256, 141,
+ (int)TlsCipherSuite.TLS_AES_128_GCM_SHA256, 142,
+ (int)TlsCipherSuite.TLS_AES_256_GCM_SHA384, 143,
+ (int)TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256, 144,
+ (int)TlsCipherSuite.TLS_AES_128_CCM_SHA256, 145,
+ (int)TlsCipherSuite.TLS_AES_128_CCM_8_SHA256, 146,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA, 147,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA, 148,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, 149,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, 150,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, 151,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA, 152,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, 153,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, 154,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, 155,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, 156,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA, 157,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA, 158,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, 159,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, 160,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, 161,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA, 162,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA, 163,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, 164,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, 165,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, 166,
+ (int)TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA, 167,
+ (int)TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA, 168,
+ (int)TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA, 169,
+ (int)TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA, 170,
+ (int)TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA, 171,
+ (int)TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA, 172,
+ (int)TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA, 173,
+ (int)TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA, 174,
+ (int)TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA, 175,
+ (int)TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA, 176,
+ (int)TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA, 177,
+ (int)TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA, 178,
+ (int)TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA, 179,
+ (int)TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA, 180,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, 181,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, 182,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, 183,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, 184,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, 185,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, 186,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, 187,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, 188,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 189,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, 190,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, 191,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, 192,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, 193,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 194,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, 195,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, 196,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA, 197,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA, 198,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA, 199,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA, 200,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256, 201,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384, 202,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA, 203,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256, 204,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384, 205,
+ (int)TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256, 206,
+ (int)TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384, 207,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256, 208,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384, 209,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256, 210,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384, 211,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256, 212,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384, 213,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256, 214,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384, 215,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256, 216,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384, 217,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256, 218,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384, 219,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256, 220,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384, 221,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256, 222,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384, 223,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256, 224,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384, 225,
+ (int)TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256, 226,
+ (int)TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384, 227,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256, 228,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384, 229,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256, 230,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384, 231,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256, 232,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384, 233,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256, 234,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384, 235,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256, 236,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384, 237,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256, 238,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384, 239,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256, 240,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384, 241,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256, 242,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384, 243,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256, 244,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384, 245,
+ (int)TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256, 246,
+ (int)TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384, 247,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256, 248,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384, 249,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256, 250,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384, 251,
+ (int)TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256, 252,
+ (int)TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384, 253,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256, 254,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384, 255,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256, 256,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384, 257,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256, 258,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384, 259,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256, 260,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384, 261,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256, 262,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384, 263,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256, 264,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384, 265,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256, 266,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384, 267,
+ (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256, 268,
+ (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384, 269,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256, 270,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384, 271,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256, 272,
+ (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384, 273,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256, 274,
+ (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384, 275,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256, 276,
+ (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384, 277,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256, 278,
+ (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384, 279,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256, 280,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384, 281,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256, 282,
+ (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384, 283,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256, 284,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384, 285,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256, 286,
+ (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384, 287,
+ (int)TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256, 288,
+ (int)TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384, 289,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256, 290,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384, 291,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256, 292,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384, 293,
+ (int)TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256, 294,
+ (int)TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384, 295,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256, 296,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384, 297,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256, 298,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384, 299,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256, 300,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384, 301,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM, 302,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM, 303,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM, 304,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM, 305,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8, 306,
+ (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8, 307,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8, 308,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8, 309,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM, 310,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM, 311,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM, 312,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM, 313,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8, 314,
+ (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8, 315,
+ (int)TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8, 316,
+ (int)TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8, 317,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM, 318,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM, 319,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8, 320,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8, 321,
+ (int)TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256, 322,
+ (int)TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384, 323,
+ (int)TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256, 324,
+ (int)TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384, 325,
+ (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, 326,
+ (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, 327,
+ (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256, 328,
+ (int)TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256, 329,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256, 330,
+ (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256, 331,
+ (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256, 332,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256, 333,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384, 334,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256, 335,
+ (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256, 336,
+ };
+
+ private static ReadOnlySpan s_encodedNumber => new[]
+ {
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
+
+ };
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 3ad8b36e167d35..0111fc0973a11f 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -23,8 +23,8 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- ulong data = GetPackedData(cipherSuite);
- Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
+ Debug.Assert(s_cipherToIndex.IndexOf((int)cipherSuite) > -1, $"No mapping found for cipherSuite {cipherSuite}");
+ ulong data = s_encodedNumber[s_cipherToIndex[(int)cipherSuite + 1]];
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
@@ -52,28 +52,37 @@ namespace System.Net.Security
throw new ArgumentOutOfRangeException(nameof(hash));
}
}
+ }
- static ulong GetPackedData(TlsCipherSuite cipherSuite)
- {
- switch (cipherSuite)
- {
+ private static ReadOnlySpan s_cipherToIndex => new[]
+ {
<#
+int i = 0;
foreach (TlsCipherSuite val in enumValues)
{
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
#>
- case TlsCipherSuite.<#= val #>: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4));
+ (int)TlsCipherSuite.<#= val #>, <#= i++ #>,
+<#
+}
+#>
+ };
+
+ private static ReadOnlySpan s_encodedNumber => new[]
+ {
+<#
+foreach (TlsCipherSuite val in enumValues)
+{
+ TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
+#>
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4)),
<#
}
#>
- default: return 0;
- }
- }
- }
+ };
}
}
From a584dac86321f9a7fc5fc6a145b05d4c58618ad9 Mon Sep 17 00:00:00 2001
From: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 13:48:32 +0300
Subject: [PATCH 08/21] Fix index
---
.../src/System/Net/Security/SslConnectionInfo.Unix.cs | 5 +++--
.../src/System/Net/Security/SslConnectionInfo.Unix.tt | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index c95c0f30a65c40..241bd46ddbe2ca 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,8 +19,9 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- Debug.Assert(s_cipherToIndex.IndexOf((int)cipherSuite) > -1, $"No mapping found for cipherSuite {cipherSuite}");
- ulong data = s_encodedNumber[s_cipherToIndex[(int)cipherSuite + 1]];
+ int index = (int)cipherSuite * 2;
+ Debug.Assert(s_cipherToIndex.IndexOf(index) > -1, $"No mapping found for cipherSuite {cipherSuite}");
+ ulong data = s_encodedNumber[s_cipherToIndex[index + 1]];
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 0111fc0973a11f..6ad1b22c377030 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -23,8 +23,9 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- Debug.Assert(s_cipherToIndex.IndexOf((int)cipherSuite) > -1, $"No mapping found for cipherSuite {cipherSuite}");
- ulong data = s_encodedNumber[s_cipherToIndex[(int)cipherSuite + 1]];
+ int index = (int)cipherSuite * 2;
+ Debug.Assert(s_cipherToIndex.IndexOf(index) > -1, $"No mapping found for cipherSuite {cipherSuite}");
+ ulong data = s_encodedNumber[s_cipherToIndex[index + 1]];
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
From 92e23da01aebb234f0397f1d2fc703d23e12eb20 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 16:46:59 +0300
Subject: [PATCH 09/21] Revert "Fix index"
This reverts commit a584dac86321f9a7fc5fc6a145b05d4c58618ad9.
---
.../src/System/Net/Security/SslConnectionInfo.Unix.cs | 5 ++---
.../src/System/Net/Security/SslConnectionInfo.Unix.tt | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 241bd46ddbe2ca..c95c0f30a65c40 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,9 +19,8 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- int index = (int)cipherSuite * 2;
- Debug.Assert(s_cipherToIndex.IndexOf(index) > -1, $"No mapping found for cipherSuite {cipherSuite}");
- ulong data = s_encodedNumber[s_cipherToIndex[index + 1]];
+ Debug.Assert(s_cipherToIndex.IndexOf((int)cipherSuite) > -1, $"No mapping found for cipherSuite {cipherSuite}");
+ ulong data = s_encodedNumber[s_cipherToIndex[(int)cipherSuite + 1]];
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 6ad1b22c377030..0111fc0973a11f 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -23,9 +23,8 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- int index = (int)cipherSuite * 2;
- Debug.Assert(s_cipherToIndex.IndexOf(index) > -1, $"No mapping found for cipherSuite {cipherSuite}");
- ulong data = s_encodedNumber[s_cipherToIndex[index + 1]];
+ Debug.Assert(s_cipherToIndex.IndexOf((int)cipherSuite) > -1, $"No mapping found for cipherSuite {cipherSuite}");
+ ulong data = s_encodedNumber[s_cipherToIndex[(int)cipherSuite + 1]];
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
From b34d3ccb4db4ac75e5f7efc42ef37f70082d5516 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 16:47:02 +0300
Subject: [PATCH 10/21] Revert "Switch to ROS version"
This reverts commit 2d15328aaff6e1d12c7d77fcf8d026c3fdc7572c.
---
.../Net/Security/SslConnectionInfo.Unix.cs | 4064 ++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 39 +-
2 files changed, 2047 insertions(+), 2056 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index c95c0f30a65c40..d9c8cae0ad6a2f 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,8 +19,8 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- Debug.Assert(s_cipherToIndex.IndexOf((int)cipherSuite) > -1, $"No mapping found for cipherSuite {cipherSuite}");
- ulong data = s_encodedNumber[s_cipherToIndex[(int)cipherSuite + 1]];
+ ulong data = GetPackedData(cipherSuite);
+ Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
@@ -48,2036 +48,2036 @@ static int GetHashSize(HashAlgorithmType hash)
throw new ArgumentOutOfRangeException(nameof(hash));
}
}
- }
- private static ReadOnlySpan s_cipherToIndex => new[]
- {
- (int)TlsCipherSuite.TLS_NULL_WITH_NULL_NULL, 0,
- (int)TlsCipherSuite.TLS_RSA_WITH_NULL_MD5, 1,
- (int)TlsCipherSuite.TLS_RSA_WITH_NULL_SHA, 2,
- (int)TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5, 3,
- (int)TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5, 4,
- (int)TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA, 5,
- (int)TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5, 6,
- (int)TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA, 7,
- (int)TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA, 8,
- (int)TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA, 9,
- (int)TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA, 10,
- (int)TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA, 11,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA, 12,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA, 13,
- (int)TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA, 14,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA, 15,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA, 16,
- (int)TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, 17,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA, 18,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, 19,
- (int)TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, 20,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA, 21,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, 22,
- (int)TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5, 23,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5, 24,
- (int)TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA, 25,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA, 26,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA, 27,
- (int)TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA, 28,
- (int)TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA, 29,
- (int)TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA, 30,
- (int)TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA, 31,
- (int)TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5, 32,
- (int)TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5, 33,
- (int)TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5, 34,
- (int)TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5, 35,
- (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA, 36,
- (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA, 37,
- (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA, 38,
- (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5, 39,
- (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5, 40,
- (int)TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5, 41,
- (int)TlsCipherSuite.TLS_PSK_WITH_NULL_SHA, 42,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA, 43,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA, 44,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA, 45,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA, 46,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA, 47,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA, 48,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA, 49,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA, 50,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA, 51,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA, 52,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA, 53,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA, 54,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA, 55,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA, 56,
- (int)TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256, 57,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256, 58,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256, 59,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256, 60,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256, 61,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, 62,
- (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA, 63,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA, 64,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA, 65,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA, 66,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA, 67,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA, 68,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, 69,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256, 70,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256, 71,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, 72,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, 73,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256, 74,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256, 75,
- (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, 76,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA, 77,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA, 78,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA, 79,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA, 80,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA, 81,
- (int)TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA, 82,
- (int)TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA, 83,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA, 84,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA, 85,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA, 86,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 87,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, 88,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA, 89,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, 90,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA, 91,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA, 92,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA, 93,
- (int)TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, 94,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA, 95,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA, 96,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA, 97,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA, 98,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 99,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 100,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384, 101,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, 102,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, 103,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256, 104,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, 105,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, 106,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, 107,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, 108,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384, 109,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256, 110,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, 111,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, 112,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, 113,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256, 114,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, 115,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256, 116,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384, 117,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256, 118,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384, 119,
- (int)TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256, 120,
- (int)TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384, 121,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256, 122,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 123,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256, 124,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, 125,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, 126,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384, 127,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256, 128,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 129,
- (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 130,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 131,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256, 132,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256, 133,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256, 134,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, 135,
- (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256, 136,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256, 137,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256, 138,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256, 139,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256, 140,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256, 141,
- (int)TlsCipherSuite.TLS_AES_128_GCM_SHA256, 142,
- (int)TlsCipherSuite.TLS_AES_256_GCM_SHA384, 143,
- (int)TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256, 144,
- (int)TlsCipherSuite.TLS_AES_128_CCM_SHA256, 145,
- (int)TlsCipherSuite.TLS_AES_128_CCM_8_SHA256, 146,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA, 147,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA, 148,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, 149,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, 150,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, 151,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA, 152,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, 153,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, 154,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, 155,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, 156,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA, 157,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA, 158,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, 159,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, 160,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, 161,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA, 162,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA, 163,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, 164,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, 165,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, 166,
- (int)TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA, 167,
- (int)TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA, 168,
- (int)TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA, 169,
- (int)TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA, 170,
- (int)TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA, 171,
- (int)TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA, 172,
- (int)TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA, 173,
- (int)TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA, 174,
- (int)TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA, 175,
- (int)TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA, 176,
- (int)TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA, 177,
- (int)TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA, 178,
- (int)TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA, 179,
- (int)TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA, 180,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, 181,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, 182,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, 183,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, 184,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, 185,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, 186,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, 187,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, 188,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 189,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, 190,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, 191,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, 192,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, 193,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 194,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, 195,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, 196,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA, 197,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA, 198,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA, 199,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA, 200,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256, 201,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384, 202,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA, 203,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256, 204,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384, 205,
- (int)TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256, 206,
- (int)TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384, 207,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256, 208,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384, 209,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256, 210,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384, 211,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256, 212,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384, 213,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256, 214,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384, 215,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256, 216,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384, 217,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256, 218,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384, 219,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256, 220,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384, 221,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256, 222,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384, 223,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256, 224,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384, 225,
- (int)TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256, 226,
- (int)TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384, 227,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256, 228,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384, 229,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256, 230,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384, 231,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256, 232,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384, 233,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256, 234,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384, 235,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256, 236,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384, 237,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256, 238,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384, 239,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256, 240,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384, 241,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256, 242,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384, 243,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256, 244,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384, 245,
- (int)TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256, 246,
- (int)TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384, 247,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256, 248,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384, 249,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256, 250,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384, 251,
- (int)TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256, 252,
- (int)TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384, 253,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256, 254,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384, 255,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256, 256,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384, 257,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256, 258,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384, 259,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256, 260,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384, 261,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256, 262,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384, 263,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256, 264,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384, 265,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256, 266,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384, 267,
- (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256, 268,
- (int)TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384, 269,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256, 270,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384, 271,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256, 272,
- (int)TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384, 273,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256, 274,
- (int)TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384, 275,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256, 276,
- (int)TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384, 277,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256, 278,
- (int)TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384, 279,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256, 280,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384, 281,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256, 282,
- (int)TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384, 283,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256, 284,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384, 285,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256, 286,
- (int)TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384, 287,
- (int)TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256, 288,
- (int)TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384, 289,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256, 290,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384, 291,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256, 292,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384, 293,
- (int)TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256, 294,
- (int)TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384, 295,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256, 296,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384, 297,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256, 298,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384, 299,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256, 300,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384, 301,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM, 302,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM, 303,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM, 304,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM, 305,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8, 306,
- (int)TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8, 307,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8, 308,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8, 309,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM, 310,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM, 311,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM, 312,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM, 313,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8, 314,
- (int)TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8, 315,
- (int)TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8, 316,
- (int)TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8, 317,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM, 318,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM, 319,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8, 320,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8, 321,
- (int)TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256, 322,
- (int)TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384, 323,
- (int)TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256, 324,
- (int)TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384, 325,
- (int)TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, 326,
- (int)TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, 327,
- (int)TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256, 328,
- (int)TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256, 329,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256, 330,
- (int)TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256, 331,
- (int)TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256, 332,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256, 333,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384, 334,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256, 335,
- (int)TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256, 336,
- };
-
- private static ReadOnlySpan s_encodedNumber => new[]
- {
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4)),
-
- };
+ static ulong GetPackedData(TlsCipherSuite cipherSuite)
+ {
+ switch (cipherSuite)
+ {
+ case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+
+ default: return 0;
+ }
+ }
+ }
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 0111fc0973a11f..3ad8b36e167d35 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -23,8 +23,8 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- Debug.Assert(s_cipherToIndex.IndexOf((int)cipherSuite) > -1, $"No mapping found for cipherSuite {cipherSuite}");
- ulong data = s_encodedNumber[s_cipherToIndex[(int)cipherSuite + 1]];
+ ulong data = GetPackedData(cipherSuite);
+ Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
@@ -52,37 +52,28 @@ namespace System.Net.Security
throw new ArgumentOutOfRangeException(nameof(hash));
}
}
- }
- private static ReadOnlySpan s_cipherToIndex => new[]
- {
-<#
-int i = 0;
-foreach (TlsCipherSuite val in enumValues)
-{
- TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
-#>
- (int)TlsCipherSuite.<#= val #>, <#= i++ #>,
-<#
-}
-#>
- };
-
- private static ReadOnlySpan s_encodedNumber => new[]
- {
+ static ulong GetPackedData(TlsCipherSuite cipherSuite)
+ {
+ switch (cipherSuite)
+ {
<#
foreach (TlsCipherSuite val in enumValues)
{
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
#>
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4)),
+ case TlsCipherSuite.<#= val #>: return
+ /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (ulong)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2)) |
+ /* DataKeySize */ (ulong)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
+ /* DataHashAlg */ (ulong)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4));
<#
}
#>
- };
+ default: return 0;
+ }
+ }
+ }
}
}
From 47cee9984d035107b3e3d6ec1be85d26f86c3ff9 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 17:35:08 +0300
Subject: [PATCH 11/21] Divide raw data into two `int`s
---
.../Net/Security/SslConnectionInfo.Unix.cs | 3395 ++++++++++-------
.../Net/Security/SslConnectionInfo.Unix.tt | 43 +-
2 files changed, 2072 insertions(+), 1366 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index d9c8cae0ad6a2f..91985ba4ffb662 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,13 +19,16 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- ulong data = GetPackedData(cipherSuite);
- Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
+ int data1 = GetPackedData1(cipherSuite);
+ Debug.Assert(data1 != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
- DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
- DataKeySize = (int)(data >> (64 - (16 * 3)) & 0xFFFF);
- DataHashAlg = (int)(data >> (64 - (16 * 4)) & 0xFFFF);
+ int data2 = GetPackedData2(cipherSuite);
+ Debug.Assert(data2 != 0, $"No mapping found for cipherSuite {cipherSuite}");
+
+ KeyExchangeAlg = (data1 >> (64 - (16 * 1)) & 0xFFFF);
+ DataCipherAlg = (data1 >> (64 - (16 * 2)) & 0xFFFF);
+ DataKeySize = (data2 >> (64 - (16 * 3)) & 0xFFFF);
+ DataHashAlg = (data2 >> (64 - (16 * 4)) & 0xFFFF);
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -49,2031 +52,2713 @@ static int GetHashSize(HashAlgorithmType hash)
}
}
- static ulong GetPackedData(TlsCipherSuite cipherSuite)
+ static int GetPackedData1(TlsCipherSuite cipherSuite)
+ {
+ switch (cipherSuite)
+ {
+ case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+
+ default: return 0;
+ }
+ }
+
+ static int GetPackedData2(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Des << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc2 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Rc4 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.TripleDes << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Null << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.None << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes256 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.Aes128 << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
default: return 0;
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 3ad8b36e167d35..bc06861975cfef 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -23,13 +23,16 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- ulong data = GetPackedData(cipherSuite);
- Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
+ int data1 = GetPackedData1(cipherSuite);
+ Debug.Assert(data1 != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)(data >> (64 - (16 * 1)) & 0xFFFF);
- DataCipherAlg = (int)(data >> (64 - (16 * 2)) & 0xFFFF);
- DataKeySize = (int)(data >> (64 - (16 * 3)) & 0xFFFF);
- DataHashAlg = (int)(data >> (64 - (16 * 4)) & 0xFFFF);
+ int data2 = GetPackedData2(cipherSuite);
+ Debug.Assert(data2 != 0, $"No mapping found for cipherSuite {cipherSuite}");
+
+ KeyExchangeAlg = (data1 >> (64 - (16 * 1)) & 0xFFFF);
+ DataCipherAlg = (data1 >> (64 - (16 * 2)) & 0xFFFF);
+ DataKeySize = (data2 >> (64 - (16 * 3)) & 0xFFFF);
+ DataHashAlg = (data2 >> (64 - (16 * 4)) & 0xFFFF);
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -53,7 +56,27 @@ namespace System.Net.Security
}
}
- static ulong GetPackedData(TlsCipherSuite cipherSuite)
+ static int GetPackedData1(TlsCipherSuite cipherSuite)
+ {
+ switch (cipherSuite)
+ {
+<#
+foreach (TlsCipherSuite val in enumValues)
+{
+ TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
+#>
+ case TlsCipherSuite.<#= val #>: return
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2));
+
+<#
+}
+#>
+ default: return 0;
+ }
+ }
+
+ static int GetPackedData2(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
@@ -63,10 +86,8 @@ foreach (TlsCipherSuite val in enumValues)
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
#>
case TlsCipherSuite.<#= val #>: return
- /* KeyExchangeAlg */ (ulong)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
- /* DataCipherAlg */ (ulong)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2)) |
- /* DataKeySize */ (ulong)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
- /* DataHashAlg */ (ulong)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4));
+ /* DataKeySize */ (int)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4));
<#
}
From 3b5a682c242289b4b8ea50f2966cdd22fac83572 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 19:06:44 +0300
Subject: [PATCH 12/21] Switch other values to 32-bit as well
---
.../Net/Security/SslConnectionInfo.Unix.cs | 2704 ++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 16 +-
2 files changed, 1360 insertions(+), 1360 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 91985ba4ffb662..9db7dbd884eb72 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -25,10 +25,10 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
int data2 = GetPackedData2(cipherSuite);
Debug.Assert(data2 != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (data1 >> (64 - (16 * 1)) & 0xFFFF);
- DataCipherAlg = (data1 >> (64 - (16 * 2)) & 0xFFFF);
- DataKeySize = (data2 >> (64 - (16 * 3)) & 0xFFFF);
- DataHashAlg = (data2 >> (64 - (16 * 4)) & 0xFFFF);
+ KeyExchangeAlg = (data1 >> (32 - (16 * 1)) & 0xFFFF);
+ DataCipherAlg = (data1 >> (32 - (16 * 2)) & 0xFFFF);
+ DataKeySize = (data2 >> (32 - (16 * 3)) & 0xFFFF);
+ DataHashAlg = (data2 >> (32 - (16 * 4)) & 0xFFFF);
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -57,1352 +57,1352 @@ static int GetPackedData1(TlsCipherSuite cipherSuite)
switch (cipherSuite)
{
case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (32 - (16 * 2));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
default: return 0;
}
@@ -1413,1352 +1413,1352 @@ static int GetPackedData2(TlsCipherSuite cipherSuite)
switch (cipherSuite)
{
case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
- /* DataKeySize */ (int)56 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
- /* DataKeySize */ (int)40 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (64 - (16 * 4));
+ /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
- /* DataKeySize */ (int)0 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
- /* DataKeySize */ (int)128 << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (64 - (16 * 4));
+ /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
default: return 0;
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index bc06861975cfef..011c4b31559a57 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -29,10 +29,10 @@ namespace System.Net.Security
int data2 = GetPackedData2(cipherSuite);
Debug.Assert(data2 != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (data1 >> (64 - (16 * 1)) & 0xFFFF);
- DataCipherAlg = (data1 >> (64 - (16 * 2)) & 0xFFFF);
- DataKeySize = (data2 >> (64 - (16 * 3)) & 0xFFFF);
- DataHashAlg = (data2 >> (64 - (16 * 4)) & 0xFFFF);
+ KeyExchangeAlg = (data1 >> (32 - (16 * 1)) & 0xFFFF);
+ DataCipherAlg = (data1 >> (32 - (16 * 2)) & 0xFFFF);
+ DataKeySize = (data2 >> (32 - (16 * 3)) & 0xFFFF);
+ DataHashAlg = (data2 >> (32 - (16 * 4)) & 0xFFFF);
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -66,8 +66,8 @@ foreach (TlsCipherSuite val in enumValues)
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
#>
case TlsCipherSuite.<#= val #>: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (64 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (64 - (16 * 2));
+ /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (32 - (16 * 1)) |
+ /* DataCipherAlg */ (int)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (32 - (16 * 2));
<#
}
@@ -86,8 +86,8 @@ foreach (TlsCipherSuite val in enumValues)
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
#>
case TlsCipherSuite.<#= val #>: return
- /* DataKeySize */ (int)<#= data.CipherAlgorithmStrength #> << (64 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (64 - (16 * 4));
+ /* DataKeySize */ (int)<#= data.CipherAlgorithmStrength #> << (32 - (16 * 3)) |
+ /* DataHashAlg */ (int)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (32 - (16 * 4));
<#
}
From e2a493038e67d47f3f263f689cae12abf85844f7 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 21:30:58 +0300
Subject: [PATCH 13/21] Switch to single int version
---
.../Net/Security/SslConnectionInfo.Unix.cs | 3069 ++---------------
.../Net/Security/SslConnectionInfo.Unix.tt | 79 +-
.../TlsCipherSuiteNameParser.ttinclude | 30 +
3 files changed, 426 insertions(+), 2752 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 9db7dbd884eb72..1723748fc7aa8a 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,16 +19,13 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- int data1 = GetPackedData1(cipherSuite);
- Debug.Assert(data1 != 0, $"No mapping found for cipherSuite {cipherSuite}");
+ int data = GetPackedData(cipherSuite);
+ Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- int data2 = GetPackedData2(cipherSuite);
- Debug.Assert(data2 != 0, $"No mapping found for cipherSuite {cipherSuite}");
-
- KeyExchangeAlg = (data1 >> (32 - (16 * 1)) & 0xFFFF);
- DataCipherAlg = (data1 >> (32 - (16 * 2)) & 0xFFFF);
- DataKeySize = (data2 >> (32 - (16 * 3)) & 0xFFFF);
- DataHashAlg = (data2 >> (32 - (16 * 4)) & 0xFFFF);
+ KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (8 * 1)) & 0xFF)];
+ DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (8 * 2)) & 0xFF)];
+ DataKeySize = (data >> (32 - (8 * 3)) & 0xFF);
+ DataHashAlg = (int)s_hasEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -51,2717 +48,359 @@ static int GetHashSize(HashAlgorithmType hash)
throw new ArgumentOutOfRangeException(nameof(hash));
}
}
+ }
- static int GetPackedData1(TlsCipherSuite cipherSuite)
- {
- switch (cipherSuite)
- {
- case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Des << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc2 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Rc4 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.TripleDes << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Null << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
+ private static ReadOnlySpan s_exchangeAlgorithmTypes =>
+ new[] { (int)ExchangeAlgorithmType.None, (int)ExchangeAlgorithmType.RsaSign, (int)ExchangeAlgorithmType.RsaKeyX, (int)ExchangeAlgorithmType.DiffieHellman, };
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
+ private static ReadOnlySpan s_cipherEnumValues =>
+ new[] {(int)CipherAlgorithmType.None, (int)CipherAlgorithmType.Null, (int)CipherAlgorithmType.Des, (int)CipherAlgorithmType.Rc2, (int)CipherAlgorithmType.TripleDes, (int)CipherAlgorithmType.Aes128, (int)CipherAlgorithmType.Aes192, (int)CipherAlgorithmType.Aes256, (int)CipherAlgorithmType.Aes, (int)CipherAlgorithmType.Rc4, };
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
+ private static ReadOnlySpan s_hasEnumValues =>
+ new[] { (int)HashAlgorithmType.None, (int)HashAlgorithmType.Md5, (int)HashAlgorithmType.Sha1, (int)HashAlgorithmType.Sha256, (int)HashAlgorithmType.Sha384, (int)HashAlgorithmType.Sha512, };
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.None << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.RsaKeyX << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.None << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes256 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.DiffieHellman << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.Aes128 << (32 - (16 * 2));
-
- default: return 0;
- }
- }
-
- static int GetPackedData2(TlsCipherSuite cipherSuite)
+ private static int GetPackedData(TlsCipherSuite cipherSuite)
+ {
+ switch (cipherSuite)
{
- switch (cipherSuite)
- {
- case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return
- /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return
- /* DataKeySize */ (int)56 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return
- /* DataKeySize */ (int)40 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Md5 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return
- /* DataKeySize */ (int)168 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha1 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return
- /* DataKeySize */ (int)0 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha256 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.Sha384 << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return
- /* DataKeySize */ (int)256 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return
- /* DataKeySize */ (int)128 << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.None << (32 - (16 * 4));
-
- default: return 0;
- }
+ case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ default: return 0;
}
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 011c4b31559a57..97d9fb2d95487c 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -8,7 +8,10 @@
<#@ output extension=".cs" #>
<#@ include file="TlsCipherSuiteNameParser.ttinclude" #><#@
include file="TlsCipherSuite.cs" #>
-<# Array enumValues = typeof(TlsCipherSuite).GetEnumValues(); #>
+<# Array tlsEnumValues = typeof(TlsCipherSuite).GetEnumValues(); #>
+<# Array exchangeEnumValues = typeof(ExchangeAlgorithmTypeIndex).GetEnumValues(); #>
+<# Array cipherEnumValues = typeof(CipherAlgorithmTypeIndex).GetEnumValues(); #>
+<# Array hasEnumValues = typeof(HashAlgorithmTypeIndex).GetEnumValues(); #>
using System.Diagnostics;
@@ -23,16 +26,13 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- int data1 = GetPackedData1(cipherSuite);
- Debug.Assert(data1 != 0, $"No mapping found for cipherSuite {cipherSuite}");
+ int data = GetPackedData(cipherSuite);
+ Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- int data2 = GetPackedData2(cipherSuite);
- Debug.Assert(data2 != 0, $"No mapping found for cipherSuite {cipherSuite}");
-
- KeyExchangeAlg = (data1 >> (32 - (16 * 1)) & 0xFFFF);
- DataCipherAlg = (data1 >> (32 - (16 * 2)) & 0xFFFF);
- DataKeySize = (data2 >> (32 - (16 * 3)) & 0xFFFF);
- DataHashAlg = (data2 >> (32 - (16 * 4)) & 0xFFFF);
+ KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (8 * 1)) & 0xFF)];
+ DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (8 * 2)) & 0xFF)];
+ DataKeySize = (data >> (32 - (8 * 3)) & 0xFF);
+ DataHashAlg = (int)s_hasEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -55,45 +55,50 @@ namespace System.Net.Security
throw new ArgumentOutOfRangeException(nameof(hash));
}
}
+ }
- static int GetPackedData1(TlsCipherSuite cipherSuite)
- {
- switch (cipherSuite)
- {
-<#
-foreach (TlsCipherSuite val in enumValues)
+ private static ReadOnlySpan s_exchangeAlgorithmTypes =>
+ new[] { <#
+foreach (ExchangeAlgorithmTypeIndex val in exchangeEnumValues)
{
- TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
-#>
- case TlsCipherSuite.<#= val #>: return
- /* KeyExchangeAlg */ (int)ExchangeAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm) #> << (32 - (16 * 1)) |
- /* DataCipherAlg */ (int)CipherAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.CipherAlgorithm) #> << (32 - (16 * 2));
+#>(int)ExchangeAlgorithmType.<#= val #>, <#
+}
+#>};
-<#
+ private static ReadOnlySpan s_cipherEnumValues =>
+ new[] {<#
+foreach (CipherAlgorithmTypeIndex val in cipherEnumValues)
+{
+#>(int)CipherAlgorithmType.<#= val #>, <#
}
-#>
- default: return 0;
- }
- }
+#>};
+
+ private static ReadOnlySpan s_hasEnumValues =>
+ new[] { <#
+foreach (HashAlgorithmTypeIndex val in hasEnumValues)
+{
+#>(int)HashAlgorithmType.<#= val #>, <#
+}
+#>};
- static int GetPackedData2(TlsCipherSuite cipherSuite)
+ private static int GetPackedData(TlsCipherSuite cipherSuite)
+ {
+ switch (cipherSuite)
{
- switch (cipherSuite)
- {
<#
-foreach (TlsCipherSuite val in enumValues)
+foreach (TlsCipherSuite val in tlsEnumValues)
{
- TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
+TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
+byte exchangeAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
+byte cipherAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
+byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
+byte cipherAlgorithmStrength = (byte)data.CipherAlgorithmStrength;
#>
- case TlsCipherSuite.<#= val #>: return
- /* DataKeySize */ (int)<#= data.CipherAlgorithmStrength #> << (32 - (16 * 3)) |
- /* DataHashAlg */ (int)HashAlgorithmType.<#= EnumHelpers.ToFrameworkName(data.MACAlgorithm) #> << (32 - (16 * 4));
-
+ case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (32 - (8 * 1)) | <#= cipherAlgorithmType #> << (32 - (8 * 2)) | <#= hashAlgorithmType #> << (32 - (8 * 3)) | <#= cipherAlgorithmStrength #> << (32 - (8 * 4));
<#
}
#>
- default: return 0;
- }
+ default: return 0;
}
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
index 7a3dee3296d804..38541654e48c1c 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
@@ -70,6 +70,36 @@ public enum HashAlgorithmType
Aead,
}
+public enum CipherAlgorithmTypeIndex
+{
+ None,
+ Null,
+ Des,
+ Rc2,
+ TripleDes,
+ Aes128,
+ Aes192,
+ Aes256,
+ Aes,
+ Rc4,
+}
+public enum ExchangeAlgorithmTypeIndex
+{
+ None,
+ RsaSign,
+ RsaKeyX,
+ DiffieHellman,
+}
+public enum HashAlgorithmTypeIndex
+{
+ None,
+ Md5,
+ Sha1,
+ Sha256,
+ Sha384,
+ Sha512
+}
+
internal static class EnumHelpers
{
public static string ToFrameworkName(ExchangeAlgorithmType val)
From ad8a80313cb0b4e2f9f2c89d0d8c7a425f6950a2 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 21:55:13 +0300
Subject: [PATCH 14/21] Reposition
---
.../Net/Security/SslConnectionInfo.Unix.cs | 554 +++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 12 +-
2 files changed, 283 insertions(+), 283 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 1723748fc7aa8a..f0d7dba2d08cef 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -25,7 +25,7 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (8 * 1)) & 0xFF)];
DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (8 * 2)) & 0xFF)];
DataKeySize = (data >> (32 - (8 * 3)) & 0xFF);
- DataHashAlg = (int)s_hasEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
+ DataHashAlg = (int)s_hashEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -56,7 +56,7 @@ static int GetHashSize(HashAlgorithmType hash)
private static ReadOnlySpan s_cipherEnumValues =>
new[] {(int)CipherAlgorithmType.None, (int)CipherAlgorithmType.Null, (int)CipherAlgorithmType.Des, (int)CipherAlgorithmType.Rc2, (int)CipherAlgorithmType.TripleDes, (int)CipherAlgorithmType.Aes128, (int)CipherAlgorithmType.Aes192, (int)CipherAlgorithmType.Aes256, (int)CipherAlgorithmType.Aes, (int)CipherAlgorithmType.Rc4, };
- private static ReadOnlySpan s_hasEnumValues =>
+ private static ReadOnlySpan s_hashEnumValues =>
new[] { (int)HashAlgorithmType.None, (int)HashAlgorithmType.Md5, (int)HashAlgorithmType.Sha1, (int)HashAlgorithmType.Sha256, (int)HashAlgorithmType.Sha384, (int)HashAlgorithmType.Sha512, };
private static int GetPackedData(TlsCipherSuite cipherSuite)
@@ -64,330 +64,330 @@ private static int GetPackedData(TlsCipherSuite cipherSuite)
switch (cipherSuite)
{
case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 56 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 1 << (32 - (8 * 3)) | 40 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 168 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 2 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 3 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 4 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
@@ -396,10 +396,10 @@ private static int GetPackedData(TlsCipherSuite cipherSuite)
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 128 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
default: return 0;
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 97d9fb2d95487c..4ea5ece03e23c2 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -11,7 +11,7 @@
<# Array tlsEnumValues = typeof(TlsCipherSuite).GetEnumValues(); #>
<# Array exchangeEnumValues = typeof(ExchangeAlgorithmTypeIndex).GetEnumValues(); #>
<# Array cipherEnumValues = typeof(CipherAlgorithmTypeIndex).GetEnumValues(); #>
-<# Array hasEnumValues = typeof(HashAlgorithmTypeIndex).GetEnumValues(); #>
+<# Array hashEnumValues = typeof(HashAlgorithmTypeIndex).GetEnumValues(); #>
using System.Diagnostics;
@@ -32,7 +32,7 @@ namespace System.Net.Security
KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (8 * 1)) & 0xFF)];
DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (8 * 2)) & 0xFF)];
DataKeySize = (data >> (32 - (8 * 3)) & 0xFF);
- DataHashAlg = (int)s_hasEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
+ DataHashAlg = (int)s_hashEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -73,9 +73,9 @@ foreach (CipherAlgorithmTypeIndex val in cipherEnumValues)
}
#>};
- private static ReadOnlySpan s_hasEnumValues =>
+ private static ReadOnlySpan s_hashEnumValues =>
new[] { <#
-foreach (HashAlgorithmTypeIndex val in hasEnumValues)
+foreach (HashAlgorithmTypeIndex val in hashEnumValues)
{
#>(int)HashAlgorithmType.<#= val #>, <#
}
@@ -91,10 +91,10 @@ foreach (TlsCipherSuite val in tlsEnumValues)
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
byte exchangeAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
byte cipherAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
-byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
byte cipherAlgorithmStrength = (byte)data.CipherAlgorithmStrength;
+byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
#>
- case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (32 - (8 * 1)) | <#= cipherAlgorithmType #> << (32 - (8 * 2)) | <#= hashAlgorithmType #> << (32 - (8 * 3)) | <#= cipherAlgorithmStrength #> << (32 - (8 * 4));
+ case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (32 - (8 * 1)) | <#= cipherAlgorithmType #> << (32 - (8 * 2)) | <#= cipherAlgorithmStrength #> << (32 - (8 * 3)) | <#= hashAlgorithmType #> << (32 - (8 * 4));
<#
}
#>
From ea293449913334379991c0bb5da0348c22e751f1 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sat, 15 Apr 2023 22:21:31 +0300
Subject: [PATCH 15/21] Pack first two as nibbles and third as ushort
---
.../Net/Security/SslConnectionInfo.Unix.cs | 680 +++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 10 +-
2 files changed, 345 insertions(+), 345 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index f0d7dba2d08cef..737b56fa4d1246 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -22,9 +22,9 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
int data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (8 * 1)) & 0xFF)];
- DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (8 * 2)) & 0xFF)];
- DataKeySize = (data >> (32 - (8 * 3)) & 0xFF);
+ KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (4 * 1)) & 0xF)];
+ DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (4 * 2)) & 0xF)];
+ DataKeySize = (data >> (32 - (8 + 16)) & 0xFFF);
DataHashAlg = (int)s_hashEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
@@ -63,343 +63,343 @@ private static int GetPackedData(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
- case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 56 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (32 - (8 * 1)) | 2 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (32 - (8 * 1)) | 3 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 40 << (32 - (8 * 3)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (8 * 1)) | 9 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (8 * 1)) | 4 << (32 - (8 * 2)) | 168 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (8 * 1)) | 1 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (32 - (8 * 1)) | 0 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (8 * 1)) | 7 << (32 - (8 * 2)) | 0 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (32 - (8 * 1)) | 5 << (32 - (8 * 2)) | 128 << (32 - (8 * 3)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (32 - (4 * 1)) | 3 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (32 - (4 * 1)) | 3 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (32 - (4 * 1)) | 3 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
default: return 0;
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 4ea5ece03e23c2..61561e40d8a9f6 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -29,9 +29,9 @@ namespace System.Net.Security
int data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (8 * 1)) & 0xFF)];
- DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (8 * 2)) & 0xFF)];
- DataKeySize = (data >> (32 - (8 * 3)) & 0xFF);
+ KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (4 * 1)) & 0xF)];
+ DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (4 * 2)) & 0xF)];
+ DataKeySize = (data >> (32 - (8 + 16)) & 0xFFF);
DataHashAlg = (int)s_hashEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
@@ -91,10 +91,10 @@ foreach (TlsCipherSuite val in tlsEnumValues)
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
byte exchangeAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
byte cipherAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
-byte cipherAlgorithmStrength = (byte)data.CipherAlgorithmStrength;
+ushort cipherAlgorithmStrength = (ushort)data.CipherAlgorithmStrength;
byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
#>
- case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (32 - (8 * 1)) | <#= cipherAlgorithmType #> << (32 - (8 * 2)) | <#= cipherAlgorithmStrength #> << (32 - (8 * 3)) | <#= hashAlgorithmType #> << (32 - (8 * 4));
+ case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (32 - (4 * 1)) | <#= cipherAlgorithmType #> << (32 - (4 * 2)) | <#= cipherAlgorithmStrength #> << (32 - (8 + 16)) | <#= hashAlgorithmType #> << (32 - (8 * 4));
<#
}
#>
From 3bd4400d2dd8167794ff2cde2801b2c377cd13c5 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sun, 16 Apr 2023 00:21:13 +0300
Subject: [PATCH 16/21] Try fitting into ushort
---
.../Net/Security/SslConnectionInfo.Unix.cs | 701 +++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 37 +-
.../TlsCipherSuiteNameParser.ttinclude | 12 +
3 files changed, 397 insertions(+), 353 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 737b56fa4d1246..094b2189052722 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -19,13 +19,13 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- int data = GetPackedData(cipherSuite);
+ ushort data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (4 * 1)) & 0xF)];
- DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (4 * 2)) & 0xF)];
- DataKeySize = (data >> (32 - (8 + 16)) & 0xFFF);
- DataHashAlg = (int)s_hashEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
+ KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (16 - (4 * 1)) & 0xF)];
+ DataCipherAlg = (int)s_cipherEnumValues[(data >> (16 - (4 * 2)) & 0xF)];
+ DataKeySize = (int)s_cipherStrengthEnumValues[(data >> (16 - (4 & 3)) & 0xF)];
+ DataHashAlg = (int)s_hashEnumValues[(data >> (16 - (4 * 4)) & 0xF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -54,354 +54,367 @@ static int GetHashSize(HashAlgorithmType hash)
new[] { (int)ExchangeAlgorithmType.None, (int)ExchangeAlgorithmType.RsaSign, (int)ExchangeAlgorithmType.RsaKeyX, (int)ExchangeAlgorithmType.DiffieHellman, };
private static ReadOnlySpan s_cipherEnumValues =>
- new[] {(int)CipherAlgorithmType.None, (int)CipherAlgorithmType.Null, (int)CipherAlgorithmType.Des, (int)CipherAlgorithmType.Rc2, (int)CipherAlgorithmType.TripleDes, (int)CipherAlgorithmType.Aes128, (int)CipherAlgorithmType.Aes192, (int)CipherAlgorithmType.Aes256, (int)CipherAlgorithmType.Aes, (int)CipherAlgorithmType.Rc4, };
+ new[] { (int)CipherAlgorithmType.None, (int)CipherAlgorithmType.Null, (int)CipherAlgorithmType.Des, (int)CipherAlgorithmType.Rc2, (int)CipherAlgorithmType.TripleDes, (int)CipherAlgorithmType.Aes128, (int)CipherAlgorithmType.Aes192, (int)CipherAlgorithmType.Aes256, (int)CipherAlgorithmType.Aes, (int)CipherAlgorithmType.Rc4, };
+
+ private static ReadOnlySpan s_cipherStrengthEnumValues =>
+ new[] { (int)CipherAlgorithmStrength.Zero, (int)CipherAlgorithmStrength.Forty, (int)CipherAlgorithmStrength.FiftySix, (int)CipherAlgorithmStrength.OneTwentyEight, (int)CipherAlgorithmStrength.OneSixtyEight, (int)CipherAlgorithmStrength.TwoFiftySix, };
private static ReadOnlySpan s_hashEnumValues =>
new[] { (int)HashAlgorithmType.None, (int)HashAlgorithmType.Md5, (int)HashAlgorithmType.Sha1, (int)HashAlgorithmType.Sha256, (int)HashAlgorithmType.Sha384, (int)HashAlgorithmType.Sha512, };
- private static int GetPackedData(TlsCipherSuite cipherSuite)
+ private static ushort GetPackedData(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
- case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (32 - (4 * 1)) | 3 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 56 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (32 - (4 * 1)) | 3 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (32 - (4 * 1)) | 2 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (32 - (4 * 1)) | 3 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 40 << (32 - (8 + 16)) | 1 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (32 - (4 * 1)) | 9 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (32 - (4 * 1)) | 4 << (32 - (4 * 2)) | 168 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 2 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (32 - (4 * 1)) | 1 << (32 - (4 * 2)) | 0 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 3 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 4 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (32 - (4 * 1)) | 0 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (32 - (4 * 1)) | 7 << (32 - (4 * 2)) | 256 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (32 - (4 * 1)) | 5 << (32 - (4 * 2)) | 128 << (32 - (8 + 16)) | 0 << (32 - (8 * 4));
+ case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
default: return 0;
}
}
+
+ private enum CipherAlgorithmStrength
+ {
+ Zero = 0,
+ Forty = 40,
+ FiftySix = 56,
+ OneTwentyEight = 128,
+ OneSixtyEight = 168,
+ TwoFiftySix = 256
+ }
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 61561e40d8a9f6..37455b28b4c730 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -11,6 +11,7 @@
<# Array tlsEnumValues = typeof(TlsCipherSuite).GetEnumValues(); #>
<# Array exchangeEnumValues = typeof(ExchangeAlgorithmTypeIndex).GetEnumValues(); #>
<# Array cipherEnumValues = typeof(CipherAlgorithmTypeIndex).GetEnumValues(); #>
+<# Array cipherStrengthEnumValues = typeof(CipherAlgorithmStrengthIndex).GetEnumValues(); #>
<# Array hashEnumValues = typeof(HashAlgorithmTypeIndex).GetEnumValues(); #>
@@ -26,13 +27,13 @@ namespace System.Net.Security
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
- int data = GetPackedData(cipherSuite);
+ ushort data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (32 - (4 * 1)) & 0xF)];
- DataCipherAlg = (int)s_cipherEnumValues[(data >> (32 - (4 * 2)) & 0xF)];
- DataKeySize = (data >> (32 - (8 + 16)) & 0xFFF);
- DataHashAlg = (int)s_hashEnumValues[(data >> (32 - (8 * 4)) & 0xFF)];
+ KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (16 - (4 * 1)) & 0xF)];
+ DataCipherAlg = (int)s_cipherEnumValues[(data >> (16 - (4 * 2)) & 0xF)];
+ DataKeySize = (int)s_cipherStrengthEnumValues[(data >> (16 - (4 & 3)) & 0xF)];
+ DataHashAlg = (int)s_hashEnumValues[(data >> (16 - (4 * 4)) & 0xF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
static int GetHashSize(HashAlgorithmType hash)
@@ -66,11 +67,19 @@ foreach (ExchangeAlgorithmTypeIndex val in exchangeEnumValues)
#>};
private static ReadOnlySpan s_cipherEnumValues =>
- new[] {<#
+ new[] { <#
foreach (CipherAlgorithmTypeIndex val in cipherEnumValues)
{
#>(int)CipherAlgorithmType.<#= val #>, <#
}
+#>};
+
+ private static ReadOnlySpan s_cipherStrengthEnumValues =>
+ new[] { <#
+foreach (CipherAlgorithmStrengthIndex val in cipherStrengthEnumValues)
+{
+#>(int)CipherAlgorithmStrength.<#= val #>, <#
+}
#>};
private static ReadOnlySpan s_hashEnumValues =>
@@ -81,7 +90,7 @@ foreach (HashAlgorithmTypeIndex val in hashEnumValues)
}
#>};
- private static int GetPackedData(TlsCipherSuite cipherSuite)
+ private static ushort GetPackedData(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
@@ -91,15 +100,25 @@ foreach (TlsCipherSuite val in tlsEnumValues)
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
byte exchangeAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
byte cipherAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
-ushort cipherAlgorithmStrength = (ushort)data.CipherAlgorithmStrength;
+byte cipherAlgorithmStrength = (byte)((CipherAlgorithmStrengthIndex)data.CipherAlgorithmStrength);
byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
#>
- case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (32 - (4 * 1)) | <#= cipherAlgorithmType #> << (32 - (4 * 2)) | <#= cipherAlgorithmStrength #> << (32 - (8 + 16)) | <#= hashAlgorithmType #> << (32 - (8 * 4));
+ case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (16 - (4 * 1)) | <#= cipherAlgorithmType #> << (16 - (4 * 2)) | <#= cipherAlgorithmStrength #> << (16 - (4 * 3)) | <#= hashAlgorithmType #> << (16 - (4 * 4));
<#
}
#>
default: return 0;
}
}
+
+ private enum CipherAlgorithmStrength
+ {
+ Zero = 0,
+ Forty = 40,
+ FiftySix = 56,
+ OneTwentyEight = 128,
+ OneSixtyEight = 168,
+ TwoFiftySix = 256
+ }
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
index 38541654e48c1c..93d7a1dd5569e6 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
@@ -83,6 +83,7 @@ public enum CipherAlgorithmTypeIndex
Aes,
Rc4,
}
+
public enum ExchangeAlgorithmTypeIndex
{
None,
@@ -90,6 +91,7 @@ public enum ExchangeAlgorithmTypeIndex
RsaKeyX,
DiffieHellman,
}
+
public enum HashAlgorithmTypeIndex
{
None,
@@ -100,6 +102,16 @@ public enum HashAlgorithmTypeIndex
Sha512
}
+public enum CipherAlgorithmStrengthIndex
+{
+ Zero,
+ Forty,
+ FiftySix,
+ OneTwentyEight,
+ OneSixtyEight,
+ TwoFiftySix
+}
+
internal static class EnumHelpers
{
public static string ToFrameworkName(ExchangeAlgorithmType val)
From c58574caaae58fcde3c243faacf5472090b049be Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sun, 16 Apr 2023 01:38:57 +0300
Subject: [PATCH 17/21] Fix cipherAlgorithmStrength mapping
---
.../Net/Security/SslConnectionInfo.Unix.cs | 634 +++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 4 +-
.../TlsCipherSuiteNameParser.ttinclude | 21 +
3 files changed, 340 insertions(+), 319 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 094b2189052722..c5cc7c11dbaa45 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -24,7 +24,7 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (16 - (4 * 1)) & 0xF)];
DataCipherAlg = (int)s_cipherEnumValues[(data >> (16 - (4 * 2)) & 0xF)];
- DataKeySize = (int)s_cipherStrengthEnumValues[(data >> (16 - (4 & 3)) & 0xF)];
+ DataKeySize = (int)s_cipherStrengthEnumValues[(data >> (16 - (4 * 3)) & 0xF)];
DataHashAlg = (int)s_hashEnumValues[(data >> (16 - (4 * 4)) & 0xF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
@@ -69,340 +69,340 @@ private static ushort GetPackedData(TlsCipherSuite cipherSuite)
case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 56 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 40 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 168 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 128 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
default: return 0;
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 37455b28b4c730..7ee647766581aa 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -32,7 +32,7 @@ namespace System.Net.Security
KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (16 - (4 * 1)) & 0xF)];
DataCipherAlg = (int)s_cipherEnumValues[(data >> (16 - (4 * 2)) & 0xF)];
- DataKeySize = (int)s_cipherStrengthEnumValues[(data >> (16 - (4 & 3)) & 0xF)];
+ DataKeySize = (int)s_cipherStrengthEnumValues[(data >> (16 - (4 * 3)) & 0xF)];
DataHashAlg = (int)s_hashEnumValues[(data >> (16 - (4 * 4)) & 0xF)];
DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
@@ -100,7 +100,7 @@ foreach (TlsCipherSuite val in tlsEnumValues)
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
byte exchangeAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
byte cipherAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
-byte cipherAlgorithmStrength = (byte)((CipherAlgorithmStrengthIndex)data.CipherAlgorithmStrength);
+byte cipherAlgorithmStrength = (byte)Enum.Parse(EnumHelpers.CipherAlgorithmStrengthIndexToName(data.CipherAlgorithmStrength));
byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
#>
case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (16 - (4 * 1)) | <#= cipherAlgorithmType #> << (16 - (4 * 2)) | <#= cipherAlgorithmStrength #> << (16 - (4 * 3)) | <#= hashAlgorithmType #> << (16 - (4 * 4));
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
index 93d7a1dd5569e6..b364e432d78dab 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
@@ -114,6 +114,27 @@ public enum CipherAlgorithmStrengthIndex
internal static class EnumHelpers
{
+ public static string CipherAlgorithmStrengthIndexToName(int val)
+ {
+ switch (val)
+ {
+ case 0:
+ return "Zero";
+ case 40:
+ return "Forty";
+ case 56:
+ return "FiftySix";
+ case 128:
+ return "OneTwentyEight";
+ case 168:
+ return "OneSixtyEight";
+ case 256:
+ return "TwoFiftySix";
+ default:
+ throw new Exception($"CipherAlgorithmStrengthIndexToName does not contain `{val}`.");
+ }
+ }
+
public static string ToFrameworkName(ExchangeAlgorithmType val)
{
switch (val)
From 4eeea0a80491163c6eccac0d818af638ef363c48 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sun, 16 Apr 2023 12:04:09 +0300
Subject: [PATCH 18/21] Address CR feedback
---
.../Net/Security/SslConnectionInfo.Unix.cs | 743 +++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 134 ++--
.../TlsCipherSuiteNameParser.ttinclude | 31 -
3 files changed, 404 insertions(+), 504 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index c5cc7c11dbaa45..1241f6d2916b0e 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -18,403 +18,370 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
{
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
+ ReadOnlySpan exchangeAlgorithmTypes =
+ new[] { (int)ExchangeAlgorithmType.None, (int)ExchangeAlgorithmType.RsaSign, (int)ExchangeAlgorithmType.RsaKeyX, (int)ExchangeAlgorithmType.DiffieHellman, };
+ ReadOnlySpan cipherEnumValues =
+ new[] { (int)CipherAlgorithmType.None, (int)CipherAlgorithmType.Null, (int)CipherAlgorithmType.Des, (int)CipherAlgorithmType.Rc2, (int)CipherAlgorithmType.TripleDes, (int)CipherAlgorithmType.Aes128, (int)CipherAlgorithmType.Aes192, (int)CipherAlgorithmType.Aes256, (int)CipherAlgorithmType.Aes, (int)CipherAlgorithmType.Rc4, };
+ ReadOnlySpan cipherStrengthEnumValues =
+ new[] { 0, 40, 56, 128, 168, 256 };
+ ReadOnlySpan hashEnumValues =
+ new[] { (int)HashAlgorithmType.None, (int)HashAlgorithmType.Md5, (int)HashAlgorithmType.Sha1, (int)HashAlgorithmType.Sha256, (int)HashAlgorithmType.Sha384, (int)HashAlgorithmType.Sha512, };
+ ReadOnlySpan hashKeySize =
+ new[] { 0, 128, 160, 256, 384, 512 };
ushort data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (16 - (4 * 1)) & 0xF)];
- DataCipherAlg = (int)s_cipherEnumValues[(data >> (16 - (4 * 2)) & 0xF)];
- DataKeySize = (int)s_cipherStrengthEnumValues[(data >> (16 - (4 * 3)) & 0xF)];
- DataHashAlg = (int)s_hashEnumValues[(data >> (16 - (4 * 4)) & 0xF)];
- DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
+ KeyExchangeAlg = exchangeAlgorithmTypes[(data >> 12) & 0xF];
+ DataCipherAlg = cipherEnumValues[(data >> 8) & 0xF];
+ DataKeySize = cipherStrengthEnumValues[(data >> 4) & 0xF];
+ DataHashAlg = hashEnumValues[data & 0xF];
+ DataHashKeySize = hashKeySize[data & 0xF];
- static int GetHashSize(HashAlgorithmType hash)
+ static ushort GetPackedData(TlsCipherSuite cipherSuite)
{
- switch (hash)
+ switch (cipherSuite)
{
- case HashAlgorithmType.None:
- return 0;
- case HashAlgorithmType.Md5:
- return 128;
- case HashAlgorithmType.Sha1:
- return 160;
- case HashAlgorithmType.Sha256:
- return 256;
- case HashAlgorithmType.Sha384:
- return 384;
- case HashAlgorithmType.Sha512:
- return 512;
- default:
- throw new ArgumentOutOfRangeException(nameof(hash));
+ case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << 12 | 1 << 8 | 0 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << 12 | 1 << 8 | 0 << 4 | 1;
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << 12 | 9 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << 12 | 9 << 8 | 3 << 4 | 1;
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << 12 | 3 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << 12 | 9 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << 12 | 9 << 8 | 3 << 4 | 1;
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << 12 | 2 << 8 | 2 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << 12 | 4 << 8 | 4 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << 12 | 9 << 8 | 3 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << 12 | 0 << 8 | 3 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << 12 | 3 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << 12 | 9 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << 12 | 2 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << 12 | 3 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << 12 | 9 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << 12 | 1 << 8 | 0 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << 12 | 1 << 8 | 0 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << 12 | 1 << 8 | 0 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << 12 | 1 << 8 | 0 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ default: return 0;
}
}
}
-
- private static ReadOnlySpan s_exchangeAlgorithmTypes =>
- new[] { (int)ExchangeAlgorithmType.None, (int)ExchangeAlgorithmType.RsaSign, (int)ExchangeAlgorithmType.RsaKeyX, (int)ExchangeAlgorithmType.DiffieHellman, };
-
- private static ReadOnlySpan s_cipherEnumValues =>
- new[] { (int)CipherAlgorithmType.None, (int)CipherAlgorithmType.Null, (int)CipherAlgorithmType.Des, (int)CipherAlgorithmType.Rc2, (int)CipherAlgorithmType.TripleDes, (int)CipherAlgorithmType.Aes128, (int)CipherAlgorithmType.Aes192, (int)CipherAlgorithmType.Aes256, (int)CipherAlgorithmType.Aes, (int)CipherAlgorithmType.Rc4, };
-
- private static ReadOnlySpan s_cipherStrengthEnumValues =>
- new[] { (int)CipherAlgorithmStrength.Zero, (int)CipherAlgorithmStrength.Forty, (int)CipherAlgorithmStrength.FiftySix, (int)CipherAlgorithmStrength.OneTwentyEight, (int)CipherAlgorithmStrength.OneSixtyEight, (int)CipherAlgorithmStrength.TwoFiftySix, };
-
- private static ReadOnlySpan s_hashEnumValues =>
- new[] { (int)HashAlgorithmType.None, (int)HashAlgorithmType.Md5, (int)HashAlgorithmType.Sha1, (int)HashAlgorithmType.Sha256, (int)HashAlgorithmType.Sha384, (int)HashAlgorithmType.Sha512, };
-
- private static ushort GetPackedData(TlsCipherSuite cipherSuite)
- {
- switch (cipherSuite)
- {
- case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 2 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << (16 - (4 * 1)) | 2 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << (16 - (4 * 1)) | 3 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 1 << (16 - (4 * 3)) | 1 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << (16 - (4 * 1)) | 9 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << (16 - (4 * 1)) | 4 << (16 - (4 * 2)) | 4 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 2 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << (16 - (4 * 1)) | 1 << (16 - (4 * 2)) | 0 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 3 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 4 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << (16 - (4 * 1)) | 0 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << (16 - (4 * 1)) | 7 << (16 - (4 * 2)) | 5 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << (16 - (4 * 1)) | 5 << (16 - (4 * 2)) | 3 << (16 - (4 * 3)) | 0 << (16 - (4 * 4));
- default: return 0;
- }
- }
-
- private enum CipherAlgorithmStrength
- {
- Zero = 0,
- Forty = 40,
- FiftySix = 56,
- OneTwentyEight = 128,
- OneSixtyEight = 168,
- TwoFiftySix = 256
- }
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 7ee647766581aa..e931527ce71a45 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -11,7 +11,6 @@
<# Array tlsEnumValues = typeof(TlsCipherSuite).GetEnumValues(); #>
<# Array exchangeEnumValues = typeof(ExchangeAlgorithmTypeIndex).GetEnumValues(); #>
<# Array cipherEnumValues = typeof(CipherAlgorithmTypeIndex).GetEnumValues(); #>
-<# Array cipherStrengthEnumValues = typeof(CipherAlgorithmStrengthIndex).GetEnumValues(); #>
<# Array hashEnumValues = typeof(HashAlgorithmTypeIndex).GetEnumValues(); #>
@@ -26,99 +25,64 @@ namespace System.Net.Security
{
TlsCipherSuite = cipherSuite;
KeyExchKeySize = 0;
+ ReadOnlySpan exchangeAlgorithmTypes =
+ new[] { <#
+ foreach (ExchangeAlgorithmTypeIndex val in exchangeEnumValues)
+ {
+ #>(int)ExchangeAlgorithmType.<#= val #>, <#
+ }
+ #>};
+ ReadOnlySpan cipherEnumValues =
+ new[] { <#
+ foreach (CipherAlgorithmTypeIndex val in cipherEnumValues)
+ {
+ #>(int)CipherAlgorithmType.<#= val #>, <#
+ }
+ #>};
+<#
+ReadOnlySpan strengths = new[] { 0, 40, 56, 128, 168, 256 };
+#>
+ ReadOnlySpan cipherStrengthEnumValues =
+ new[] { <#= string.Join(", ", strengths.ToArray()) #> };
+ ReadOnlySpan hashEnumValues =
+ new[] { <#
+foreach (HashAlgorithmTypeIndex val in hashEnumValues)
+{
+ #>(int)HashAlgorithmType.<#= val #>, <#
+}
+ #>};
+ ReadOnlySpan hashKeySize =
+ new[] { 0, 128, 160, 256, 384, 512 };
ushort data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = (int)s_exchangeAlgorithmTypes[(data >> (16 - (4 * 1)) & 0xF)];
- DataCipherAlg = (int)s_cipherEnumValues[(data >> (16 - (4 * 2)) & 0xF)];
- DataKeySize = (int)s_cipherStrengthEnumValues[(data >> (16 - (4 * 3)) & 0xF)];
- DataHashAlg = (int)s_hashEnumValues[(data >> (16 - (4 * 4)) & 0xF)];
- DataHashKeySize = GetHashSize((HashAlgorithmType)DataHashAlg);
+ KeyExchangeAlg = exchangeAlgorithmTypes[(data >> 12) & 0xF];
+ DataCipherAlg = cipherEnumValues[(data >> 8) & 0xF];
+ DataKeySize = cipherStrengthEnumValues[(data >> 4) & 0xF];
+ DataHashAlg = hashEnumValues[data & 0xF];
+ DataHashKeySize = hashKeySize[data & 0xF];
- static int GetHashSize(HashAlgorithmType hash)
+ static ushort GetPackedData(TlsCipherSuite cipherSuite)
{
- switch (hash)
+ switch (cipherSuite)
{
- case HashAlgorithmType.None:
- return 0;
- case HashAlgorithmType.Md5:
- return 128;
- case HashAlgorithmType.Sha1:
- return 160;
- case HashAlgorithmType.Sha256:
- return 256;
- case HashAlgorithmType.Sha384:
- return 384;
- case HashAlgorithmType.Sha512:
- return 512;
- default:
- throw new ArgumentOutOfRangeException(nameof(hash));
+ <#
+ foreach (TlsCipherSuite val in tlsEnumValues)
+ {
+ TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
+ byte exchangeAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
+ byte cipherAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
+ byte cipherAlgorithmStrength = (byte)strengths.IndexOf(data.CipherAlgorithmStrength);
+ byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
+ #>
+ case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << 12 | <#= cipherAlgorithmType #> << 8 | <#= cipherAlgorithmStrength #> << 4 | <#= hashAlgorithmType #>;
+ <#
+ }
+ #>
+ default: return 0;
}
}
}
-
- private static ReadOnlySpan s_exchangeAlgorithmTypes =>
- new[] { <#
-foreach (ExchangeAlgorithmTypeIndex val in exchangeEnumValues)
-{
-#>(int)ExchangeAlgorithmType.<#= val #>, <#
-}
-#>};
-
- private static ReadOnlySpan s_cipherEnumValues =>
- new[] { <#
-foreach (CipherAlgorithmTypeIndex val in cipherEnumValues)
-{
-#>(int)CipherAlgorithmType.<#= val #>, <#
-}
-#>};
-
- private static ReadOnlySpan s_cipherStrengthEnumValues =>
- new[] { <#
-foreach (CipherAlgorithmStrengthIndex val in cipherStrengthEnumValues)
-{
-#>(int)CipherAlgorithmStrength.<#= val #>, <#
-}
-#>};
-
- private static ReadOnlySpan s_hashEnumValues =>
- new[] { <#
-foreach (HashAlgorithmTypeIndex val in hashEnumValues)
-{
-#>(int)HashAlgorithmType.<#= val #>, <#
-}
-#>};
-
- private static ushort GetPackedData(TlsCipherSuite cipherSuite)
- {
- switch (cipherSuite)
- {
-<#
-foreach (TlsCipherSuite val in tlsEnumValues)
-{
-TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
-byte exchangeAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
-byte cipherAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
-byte cipherAlgorithmStrength = (byte)Enum.Parse(EnumHelpers.CipherAlgorithmStrengthIndexToName(data.CipherAlgorithmStrength));
-byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
-#>
- case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << (16 - (4 * 1)) | <#= cipherAlgorithmType #> << (16 - (4 * 2)) | <#= cipherAlgorithmStrength #> << (16 - (4 * 3)) | <#= hashAlgorithmType #> << (16 - (4 * 4));
-<#
-}
-#>
- default: return 0;
- }
- }
-
- private enum CipherAlgorithmStrength
- {
- Zero = 0,
- Forty = 40,
- FiftySix = 56,
- OneTwentyEight = 128,
- OneSixtyEight = 168,
- TwoFiftySix = 256
- }
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
index b364e432d78dab..a24c8a5b5d1198 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/TlsCipherSuiteNameParser.ttinclude
@@ -102,39 +102,8 @@ public enum HashAlgorithmTypeIndex
Sha512
}
-public enum CipherAlgorithmStrengthIndex
-{
- Zero,
- Forty,
- FiftySix,
- OneTwentyEight,
- OneSixtyEight,
- TwoFiftySix
-}
-
internal static class EnumHelpers
{
- public static string CipherAlgorithmStrengthIndexToName(int val)
- {
- switch (val)
- {
- case 0:
- return "Zero";
- case 40:
- return "Forty";
- case 56:
- return "FiftySix";
- case 128:
- return "OneTwentyEight";
- case 168:
- return "OneSixtyEight";
- case 256:
- return "TwoFiftySix";
- default:
- throw new Exception($"CipherAlgorithmStrengthIndexToName does not contain `{val}`.");
- }
- }
-
public static string ToFrameworkName(ExchangeAlgorithmType val)
{
switch (val)
From d67f01c1269fd6709a98b1bb26a3438604b0f073 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sun, 16 Apr 2023 13:04:22 +0300
Subject: [PATCH 19/21] Change return type to int
---
.../src/System/Net/Security/SslConnectionInfo.Unix.cs | 4 ++--
.../src/System/Net/Security/SslConnectionInfo.Unix.tt | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index 1241f6d2916b0e..ceccd442a84e63 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -29,7 +29,7 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
ReadOnlySpan hashKeySize =
new[] { 0, 128, 160, 256, 384, 512 };
- ushort data = GetPackedData(cipherSuite);
+ int data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
KeyExchangeAlg = exchangeAlgorithmTypes[(data >> 12) & 0xF];
@@ -38,7 +38,7 @@ private void MapCipherSuite(TlsCipherSuite cipherSuite)
DataHashAlg = hashEnumValues[data & 0xF];
DataHashKeySize = hashKeySize[data & 0xF];
- static ushort GetPackedData(TlsCipherSuite cipherSuite)
+ static int GetPackedData(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index e931527ce71a45..3e7f6aec295290 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -54,7 +54,7 @@ foreach (HashAlgorithmTypeIndex val in hashEnumValues)
ReadOnlySpan hashKeySize =
new[] { 0, 128, 160, 256, 384, 512 };
- ushort data = GetPackedData(cipherSuite);
+ int data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
KeyExchangeAlg = exchangeAlgorithmTypes[(data >> 12) & 0xF];
@@ -63,7 +63,7 @@ foreach (HashAlgorithmTypeIndex val in hashEnumValues)
DataHashAlg = hashEnumValues[data & 0xF];
DataHashKeySize = hashKeySize[data & 0xF];
- static ushort GetPackedData(TlsCipherSuite cipherSuite)
+ static int GetPackedData(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
From 8699298a017bf58375e4a00b3ed9876f09f6b21b Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sun, 16 Apr 2023 18:11:12 +0300
Subject: [PATCH 20/21] Address CR feedback
---
.../Net/Security/SslConnectionInfo.Unix.cs | 697 +++++++++---------
.../Net/Security/SslConnectionInfo.Unix.tt | 64 +-
2 files changed, 381 insertions(+), 380 deletions(-)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index ceccd442a84e63..d67376896bfb7e 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -17,369 +17,368 @@ internal partial struct SslConnectionInfo
private void MapCipherSuite(TlsCipherSuite cipherSuite)
{
TlsCipherSuite = cipherSuite;
- KeyExchKeySize = 0;
- ReadOnlySpan exchangeAlgorithmTypes =
+ ReadOnlySpan keyExchangeAlgs =
new[] { (int)ExchangeAlgorithmType.None, (int)ExchangeAlgorithmType.RsaSign, (int)ExchangeAlgorithmType.RsaKeyX, (int)ExchangeAlgorithmType.DiffieHellman, };
- ReadOnlySpan cipherEnumValues =
+ ReadOnlySpan dataCipherAlgs =
new[] { (int)CipherAlgorithmType.None, (int)CipherAlgorithmType.Null, (int)CipherAlgorithmType.Des, (int)CipherAlgorithmType.Rc2, (int)CipherAlgorithmType.TripleDes, (int)CipherAlgorithmType.Aes128, (int)CipherAlgorithmType.Aes192, (int)CipherAlgorithmType.Aes256, (int)CipherAlgorithmType.Aes, (int)CipherAlgorithmType.Rc4, };
- ReadOnlySpan cipherStrengthEnumValues =
+ ReadOnlySpan dataKeySizes =
new[] { 0, 40, 56, 128, 168, 256 };
- ReadOnlySpan hashEnumValues =
+ ReadOnlySpan dataHashAlgs =
new[] { (int)HashAlgorithmType.None, (int)HashAlgorithmType.Md5, (int)HashAlgorithmType.Sha1, (int)HashAlgorithmType.Sha256, (int)HashAlgorithmType.Sha384, (int)HashAlgorithmType.Sha512, };
- ReadOnlySpan hashKeySize =
+ ReadOnlySpan dataHashKeySizes =
new[] { 0, 128, 160, 256, 384, 512 };
int data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = exchangeAlgorithmTypes[(data >> 12) & 0xF];
- DataCipherAlg = cipherEnumValues[(data >> 8) & 0xF];
- DataKeySize = cipherStrengthEnumValues[(data >> 4) & 0xF];
- DataHashAlg = hashEnumValues[data & 0xF];
- DataHashKeySize = hashKeySize[data & 0xF];
+ KeyExchangeAlg = keyExchangeAlgs[(data >> 12) & 0xF];
+ DataCipherAlg = dataCipherAlgs[(data >> 8) & 0xF];
+ DataKeySize = dataKeySizes[(data >> 4) & 0xF];
+ DataHashAlg = dataHashAlgs[data & 0xF];
+ DataHashKeySize = dataHashKeySizes[data & 0xF];
static int GetPackedData(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
- case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << 12 | 1 << 8 | 0 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << 12 | 1 << 8 | 0 << 4 | 1;
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << 12 | 9 << 8 | 1 << 4 | 1;
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << 12 | 9 << 8 | 3 << 4 | 1;
- case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << 12 | 3 << 8 | 1 << 4 | 1;
- case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << 12 | 2 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << 12 | 2 << 8 | 2 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
- case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
- case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << 12 | 9 << 8 | 1 << 4 | 1;
- case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << 12 | 9 << 8 | 3 << 4 | 1;
- case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
- case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << 12 | 2 << 8 | 2 << 4 | 2;
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << 12 | 2 << 8 | 2 << 4 | 1;
- case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << 12 | 4 << 8 | 4 << 4 | 1;
- case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << 12 | 9 << 8 | 3 << 4 | 1;
- case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << 12 | 0 << 8 | 3 << 4 | 1;
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << 12 | 2 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << 12 | 3 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << 12 | 9 << 8 | 1 << 4 | 2;
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << 12 | 2 << 8 | 1 << 4 | 1;
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << 12 | 3 << 8 | 1 << 4 | 1;
- case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << 12 | 9 << 8 | 1 << 4 | 1;
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << 12 | 1 << 8 | 0 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << 12 | 7 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << 12 | 0 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << 12 | 1 << 8 | 0 << 4 | 3;
- case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << 12 | 1 << 8 | 0 << 4 | 4;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << 12 | 1 << 8 | 0 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << 12 | 1 << 8 | 0 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << 12 | 1 << 8 | 0 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << 12 | 1 << 8 | 0 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << 12 | 0 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
- case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << 12 | 1 << 8 | 0 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << 12 | 1 << 8 | 0 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
- default: return 0;
+ case TlsCipherSuite.TLS_NULL_WITH_NULL_NULL: return 0 << 12 | 1 << 8 | 0 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_MD5: return 2 << 12 | 1 << 8 | 0 << 4 | 1;
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA: return 2 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5: return 2 << 12 | 9 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_MD5: return 2 << 12 | 9 << 8 | 3 << 4 | 1;
+ case TlsCipherSuite.TLS_RSA_WITH_RC4_128_SHA: return 2 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: return 2 << 12 | 3 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_RSA_WITH_IDEA_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: return 2 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_DES_CBC_SHA: return 2 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA: return 2 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: return 3 << 12 | 9 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_DH_anon_WITH_RC4_128_MD5: return 3 << 12 | 9 << 8 | 3 << 4 | 1;
+ case TlsCipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: return 3 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_DES_CBC_SHA: return 3 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_SHA: return 0 << 12 | 2 << 8 | 2 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_SHA: return 0 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_SHA: return 0 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_WITH_DES_CBC_MD5: return 0 << 12 | 2 << 8 | 2 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_WITH_3DES_EDE_CBC_MD5: return 0 << 12 | 4 << 8 | 4 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_WITH_RC4_128_MD5: return 0 << 12 | 9 << 8 | 3 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_WITH_IDEA_CBC_MD5: return 0 << 12 | 0 << 8 | 3 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: return 0 << 12 | 2 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA: return 0 << 12 | 3 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_SHA: return 0 << 12 | 9 << 8 | 1 << 4 | 2;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: return 0 << 12 | 2 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5: return 0 << 12 | 3 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_KRB5_EXPORT_WITH_RC4_40_MD5: return 0 << 12 | 9 << 8 | 1 << 4 | 1;
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA: return 0 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA: return 2 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA: return 2 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA: return 2 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_NULL_SHA256: return 2 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256: return 2 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA256: return 3 << 12 | 7 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: return 2 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA: return 3 << 12 | 0 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_PSK_WITH_RC4_128_SHA: return 0 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA: return 2 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: return 2 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA: return 2 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA: return 2 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return 2 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: return 3 << 12 | 0 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA256: return 0 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_PSK_WITH_NULL_SHA384: return 0 << 12 | 1 << 8 | 0 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256: return 3 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384: return 3 << 12 | 1 << 8 | 0 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: return 2 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: return 2 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256: return 2 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return 2 << 12 | 1 << 8 | 0 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 2 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 3;
+ case TlsCipherSuite.TLS_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_CHACHA20_POLY1305_SHA256: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_AES_128_CCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_AES_128_CCM_8_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: return 0 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: return 0 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA: return 0 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA: return 3 << 12 | 9 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA: return 3 << 12 | 4 << 8 | 4 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: return 3 << 12 | 5 << 8 | 3 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: return 3 << 12 | 7 << 8 | 5 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA: return 3 << 12 | 1 << 8 | 0 << 4 | 2;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA256: return 3 << 12 | 1 << 8 | 0 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_NULL_SHA384: return 3 << 12 | 1 << 8 | 0 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_ARIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_CBC_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_CBC_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_128_GCM_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_ARIA_256_GCM_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 0 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 0 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 2 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 2 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256: return 3 << 12 | 0 << 8 | 3 << 4 | 3;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384: return 3 << 12 | 0 << 8 | 5 << 4 | 4;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_128_CCM_8: return 2 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_WITH_AES_256_CCM_8: return 2 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_128_CCM_8: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_AES_256_CCM_8: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_DHE_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_GCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_GCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_128_CCM_SHA256: return 0 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECCPWD_WITH_AES_256_CCM_SHA384: return 0 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_PSK_WITH_CHACHA20_POLY1305_SHA256: return 0 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256: return 3 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256: return 2 << 12 | 0 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384: return 3 << 12 | 7 << 8 | 5 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ case TlsCipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256: return 3 << 12 | 5 << 8 | 3 << 4 | 0;
+ default: return 0;
}
}
}
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 3e7f6aec295290..230651d2d4a1bc 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -10,8 +10,8 @@
include file="TlsCipherSuite.cs" #>
<# Array tlsEnumValues = typeof(TlsCipherSuite).GetEnumValues(); #>
<# Array exchangeEnumValues = typeof(ExchangeAlgorithmTypeIndex).GetEnumValues(); #>
-<# Array cipherEnumValues = typeof(CipherAlgorithmTypeIndex).GetEnumValues(); #>
-<# Array hashEnumValues = typeof(HashAlgorithmTypeIndex).GetEnumValues(); #>
+<# Array dataCipherAlgs = typeof(CipherAlgorithmTypeIndex).GetEnumValues(); #>
+<# Array dataHashAlgs = typeof(HashAlgorithmTypeIndex).GetEnumValues(); #>
using System.Diagnostics;
@@ -24,62 +24,64 @@ namespace System.Net.Security
private void MapCipherSuite(TlsCipherSuite cipherSuite)
{
TlsCipherSuite = cipherSuite;
- KeyExchKeySize = 0;
- ReadOnlySpan exchangeAlgorithmTypes =
+ ReadOnlySpan keyExchangeAlgs =
new[] { <#
- foreach (ExchangeAlgorithmTypeIndex val in exchangeEnumValues)
- {
+foreach (ExchangeAlgorithmTypeIndex val in exchangeEnumValues)
+{
#>(int)ExchangeAlgorithmType.<#= val #>, <#
- }
+}
#>};
- ReadOnlySpan cipherEnumValues =
+ ReadOnlySpan dataCipherAlgs =
new[] { <#
- foreach (CipherAlgorithmTypeIndex val in cipherEnumValues)
- {
+foreach (CipherAlgorithmTypeIndex val in dataCipherAlgs)
+{
#>(int)CipherAlgorithmType.<#= val #>, <#
- }
+}
#>};
<#
ReadOnlySpan strengths = new[] { 0, 40, 56, 128, 168, 256 };
#>
- ReadOnlySpan cipherStrengthEnumValues =
+ ReadOnlySpan dataKeySizes =
new[] { <#= string.Join(", ", strengths.ToArray()) #> };
- ReadOnlySpan hashEnumValues =
+ ReadOnlySpan dataHashAlgs =
new[] { <#
-foreach (HashAlgorithmTypeIndex val in hashEnumValues)
+foreach (HashAlgorithmTypeIndex val in dataHashAlgs)
{
#>(int)HashAlgorithmType.<#= val #>, <#
}
#>};
- ReadOnlySpan hashKeySize =
+ ReadOnlySpan dataHashKeySizes =
new[] { 0, 128, 160, 256, 384, 512 };
int data = GetPackedData(cipherSuite);
Debug.Assert(data != 0, $"No mapping found for cipherSuite {cipherSuite}");
- KeyExchangeAlg = exchangeAlgorithmTypes[(data >> 12) & 0xF];
- DataCipherAlg = cipherEnumValues[(data >> 8) & 0xF];
- DataKeySize = cipherStrengthEnumValues[(data >> 4) & 0xF];
- DataHashAlg = hashEnumValues[data & 0xF];
- DataHashKeySize = hashKeySize[data & 0xF];
+ KeyExchangeAlg = keyExchangeAlgs[(data >> 12) & 0xF];
+ DataCipherAlg = dataCipherAlgs[(data >> 8) & 0xF];
+ DataKeySize = dataKeySizes[(data >> 4) & 0xF];
+ DataHashAlg = dataHashAlgs[data & 0xF];
+ DataHashKeySize = dataHashKeySizes[data & 0xF];
static int GetPackedData(TlsCipherSuite cipherSuite)
{
switch (cipherSuite)
{
- <#
- foreach (TlsCipherSuite val in tlsEnumValues)
- {
+<#
+foreach (TlsCipherSuite val in tlsEnumValues)
+{
TlsCipherSuiteData data = new CipherSuiteNameData(val.ToString()).Data;
- byte exchangeAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
- byte cipherAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
- byte cipherAlgorithmStrength = (byte)strengths.IndexOf(data.CipherAlgorithmStrength);
- byte hashAlgorithmType = (byte)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
- #>
+ int exchangeAlgorithmType = (int)Enum.Parse(EnumHelpers.ToFrameworkName(data.KeyExchangeAlgorithm));
+ int cipherAlgorithmType = (int)Enum.Parse(EnumHelpers.ToFrameworkName(data.CipherAlgorithm));
+ int cipherAlgorithmStrength = (int)strengths.IndexOf(data.CipherAlgorithmStrength);
+ int hashAlgorithmType = (int)Enum.Parse(EnumHelpers.ToFrameworkName(data.MACAlgorithm));
+
+ if (cipherAlgorithmStrength == -1)
+ throw new Exception($"Value '{data.CipherAlgorithmStrength}' is not found in 'strengths' array.");
+#>
case TlsCipherSuite.<#= val #>: return <#= exchangeAlgorithmType #> << 12 | <#= cipherAlgorithmType #> << 8 | <#= cipherAlgorithmStrength #> << 4 | <#= hashAlgorithmType #>;
- <#
- }
- #>
+<#
+}
+#>
default: return 0;
}
}
From 2eb6b62b72ccdafda532950681fc4c04f8d40d15 Mon Sep 17 00:00:00 2001
From: Adeel <3840695+am11@users.noreply.github.com>
Date: Sun, 16 Apr 2023 18:14:00 +0300
Subject: [PATCH 21/21] Keep KeyExchKeySize
---
.../src/System/Net/Security/SslConnectionInfo.Unix.cs | 1 +
.../src/System/Net/Security/SslConnectionInfo.Unix.tt | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
index d67376896bfb7e..e68fb8e693bfb1 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.cs
@@ -17,6 +17,7 @@ internal partial struct SslConnectionInfo
private void MapCipherSuite(TlsCipherSuite cipherSuite)
{
TlsCipherSuite = cipherSuite;
+ KeyExchKeySize = 0;
ReadOnlySpan keyExchangeAlgs =
new[] { (int)ExchangeAlgorithmType.None, (int)ExchangeAlgorithmType.RsaSign, (int)ExchangeAlgorithmType.RsaKeyX, (int)ExchangeAlgorithmType.DiffieHellman, };
ReadOnlySpan dataCipherAlgs =
diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
index 230651d2d4a1bc..6d853177e69c46 100644
--- a/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
+++ b/src/libraries/System.Net.Security/src/System/Net/Security/SslConnectionInfo.Unix.tt
@@ -24,6 +24,7 @@ namespace System.Net.Security
private void MapCipherSuite(TlsCipherSuite cipherSuite)
{
TlsCipherSuite = cipherSuite;
+ KeyExchKeySize = 0;
ReadOnlySpan keyExchangeAlgs =
new[] { <#
foreach (ExchangeAlgorithmTypeIndex val in exchangeEnumValues)