diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-16 15:04:47 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-16 15:04:47 +0700 |
commit | a5b66b52ca49d8251321ed6c964abcd40fb43a7f (patch) | |
tree | e8ef225c185324e0cef2d15f47cbaedb6636e7be /crypto | |
parent | ParameterUtilities support for CCM, GCM parameters (diff) | |
download | BouncyCastle.NET-ed25519-a5b66b52ca49d8251321ed6c964abcd40fb43a7f.tar.xz |
Restore some RC4_128 registry entries (only)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/tls/TlsUtilities.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsUtilities.cs b/crypto/src/tls/TlsUtilities.cs index e2c3e3094..7a601bebf 100644 --- a/crypto/src/tls/TlsUtilities.cs +++ b/crypto/src/tls/TlsUtilities.cs @@ -2847,6 +2847,10 @@ namespace Org.BouncyCastle.Tls case CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384: return EncryptionAlgorithm.NULL; + case CipherSuite.TLS_RSA_WITH_RC4_128_MD5: + case CipherSuite.TLS_RSA_WITH_RC4_128_SHA: + return EncryptionAlgorithm.RC4_128; + case CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA: case CipherSuite.TLS_DH_DSS_WITH_SEED_CBC_SHA: case CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA: @@ -3204,6 +3208,8 @@ namespace Org.BouncyCastle.Tls case CipherSuite.TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384: case CipherSuite.TLS_RSA_WITH_NULL_SHA: case CipherSuite.TLS_RSA_WITH_NULL_SHA256: + case CipherSuite.TLS_RSA_WITH_RC4_128_MD5: + case CipherSuite.TLS_RSA_WITH_RC4_128_SHA: case CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: return KeyExchangeAlgorithm.RSA; @@ -3384,6 +3390,9 @@ namespace Org.BouncyCastle.Tls case CipherSuite.TLS_SM4_GCM_SM3: return MacAlgorithm.cls_null; + case CipherSuite.TLS_RSA_WITH_RC4_128_MD5: + return MacAlgorithm.hmac_md5; + case CipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: case CipherSuite.TLS_DH_anon_WITH_AES_128_CBC_SHA: case CipherSuite.TLS_DH_anon_WITH_AES_256_CBC_SHA: @@ -3456,6 +3465,7 @@ namespace Org.BouncyCastle.Tls case CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: case CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: case CipherSuite.TLS_RSA_WITH_NULL_SHA: + case CipherSuite.TLS_RSA_WITH_RC4_128_SHA: case CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA: case CipherSuite.TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA: case CipherSuite.TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA: |