Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SslConnectionInfo.cs
Go to the documentation of this file.
1namespace System.Net.Security;
2
3internal sealed class SslConnectionInfo
4{
5 public int Protocol { get; }
6
7 public TlsCipherSuite TlsCipherSuite { get; private set; }
8
9 public int DataCipherAlg { get; private set; }
10
11 public int DataKeySize { get; private set; }
12
13 public int DataHashAlg { get; private set; }
14
15 public int DataHashKeySize { get; private set; }
16
17 public int KeyExchangeAlg { get; private set; }
18
19 public int KeyExchKeySize { get; private set; }
20
21 public SslConnectionInfo(SecPkgContext_ConnectionInfo interopConnectionInfo, TlsCipherSuite cipherSuite)
22 {
23 Protocol = interopConnectionInfo.Protocol;
24 DataCipherAlg = interopConnectionInfo.DataCipherAlg;
25 DataKeySize = interopConnectionInfo.DataKeySize;
26 DataHashAlg = interopConnectionInfo.DataHashAlg;
27 DataHashKeySize = interopConnectionInfo.DataHashKeySize;
28 KeyExchangeAlg = interopConnectionInfo.KeyExchangeAlg;
29 KeyExchKeySize = interopConnectionInfo.KeyExchKeySize;
30 TlsCipherSuite = cipherSuite;
31 }
32}
SslConnectionInfo(SecPkgContext_ConnectionInfo interopConnectionInfo, TlsCipherSuite cipherSuite)