Class SSLInfo
- Namespace
- Glacier2
- Assembly
- Glacier2.dll
Represents information gathered from an incoming SSL connection and used for authentication and authorization.
public sealed record SSLInfo : IEquatable<SSLInfo>
- Inheritance
-
SSLInfo
- Implements
- Inherited Members
Remarks
The Slice compiler generated this record class from Slice struct ::Glacier2::SSLInfo.
Constructors
SSLInfo(InputStream)
Initializes a new instance of the SSLInfo class from an input stream.
public SSLInfo(InputStream istr)
Parameters
istrInputStream
SSLInfo(string, int, string, int, string, string[])
Initializes a new instance of the SSLInfo class.
public SSLInfo(string remoteHost, int remotePort, string localHost, int localPort, string cipher, string[] certs)
Parameters
SSLInfo(string[])
Initializes a new instance of the SSLInfo class.
public SSLInfo(string[] certs)
Parameters
certsstring[]
Fields
certs
The certificate chain.
public string[] certs
Field Value
- string[]
cipher
The negotiated cipher suite.
public string cipher
Field Value
localHost
The router's host.
public string localHost
Field Value
localPort
The router's port.
public int localPort
Field Value
remoteHost
The remote host.
public string remoteHost
Field Value
remotePort
The remote port.
public int remotePort
Field Value
Methods
ice_read(InputStream)
Unmarshals a value from an input stream.
public static SSLInfo ice_read(InputStream istr)
Parameters
istrInputStreamThe input stream.
Returns
- SSLInfo
The unmarshaled value.
ice_write(OutputStream, SSLInfo)
Marshals a value into an output stream.
public static void ice_write(OutputStream ostr, SSLInfo v)
Parameters
ostrOutputStreamThe output stream.
vSSLInfoThe value to marshal.