| | 1 | | // Copyright (c) ZeroC, Inc. |
| | 2 | |
|
| | 3 | | #nullable enable |
| | 4 | |
|
| | 5 | | using System.Security.Cryptography.X509Certificates; |
| | 6 | |
|
| | 7 | | namespace Ice.SSL; |
| | 8 | |
|
| | 9 | | public sealed class ConnectionInfo : Ice.ConnectionInfo |
| | 10 | | { |
| | 11 | | public readonly string cipher; |
| | 12 | | public readonly X509Certificate2[] certs; |
| | 13 | | public readonly bool verified; |
| | 14 | |
|
| | 15 | | internal ConnectionInfo(Ice.ConnectionInfo underlying, string cipher, X509Certificate2[] certs, bool verified) |
| 1 | 16 | | : base(underlying) |
| | 17 | | { |
| 1 | 18 | | this.cipher = cipher; |
| 1 | 19 | | this.certs = certs; |
| 1 | 20 | | this.verified = verified; |
| 1 | 21 | | } |
| | 22 | | } |