java.lang.Object
com.zeroc.Glacier2.SSLInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Represents information gathered from an incoming SSL connection and used for authentication and authorization.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]
The certificate chain.The negotiated cipher suite.The router's host.int
The router's port.The remote host.int
The remote port. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static SSLInfo
ice_read
(InputStream istr) Unmarshals aSSLInfo
from an input stream.ice_read
(InputStream istr, int tag) Unmarshals an optionalSSLInfo
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, SSLInfo v) Marshals an optionalSSLInfo
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<SSLInfo> v) Marshals an optionalSSLInfo
into an output stream.static void
ice_write
(OutputStream ostr, SSLInfo v) Marshals aSSLInfo
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
remoteHost
The remote host. -
remotePort
public int remotePortThe remote port. -
localHost
The router's host. -
localPort
public int localPortThe router's port. -
cipher
The negotiated cipher suite. -
certs
The certificate chain.
-
-
Constructor Details
-
SSLInfo
public SSLInfo()Constructs aSSLInfo
. -
SSLInfo
public SSLInfo(String remoteHost, int remotePort, String localHost, int localPort, String cipher, String[] certs) Constructs aSSLInfo
with values for all its fields.- Parameters:
remoteHost
- The remote host.remotePort
- The remote port.localHost
- The router's host.localPort
- The router's port.cipher
- The negotiated cipher suite.certs
- The certificate chain.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr
- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr
- the input stream
-
ice_write
Marshals aSSLInfo
into an output stream.- Parameters:
ostr
- the output streamv
- theSSLInfo
to marshal; can be null
-
ice_read
Unmarshals aSSLInfo
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
SSLInfo
-
ice_write
Marshals an optionalSSLInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalSSLInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalSSLInfo
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-