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.
Remarks:
The Slice compiler generated this class from Slice struct ::Glacier2::SSLInfo.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]The certificate chain.The negotiated cipher suite.The router's host.intThe router's port.The remote host.intThe remote port. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static SSLInfoice_read(InputStream istr) Unmarshals aSSLInfofrom an input stream.ice_read(InputStream istr, int tag) Unmarshals an optionalSSLInfofrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, SSLInfo v) Marshals an optionalSSLInfointo an output stream.static voidice_write(OutputStream ostr, int tag, Optional<SSLInfo> v) Marshals an optionalSSLInfointo an output stream.static voidice_write(OutputStream ostr, SSLInfo v) Marshals aSSLInfointo an output stream.voidice_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 aSSLInfowith 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 aSSLInfointo an output stream.- Parameters:
ostr- the output streamv- theSSLInfoto marshal
-
ice_read
Unmarshals aSSLInfofrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
SSLInfo
-
ice_write
Marshals an optionalSSLInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalSSLInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalSSLInfofrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-