Package org.opentcs.access.rmi.factories
Klasse SecureSocketFactoryProvider
java.lang.Object
org.opentcs.access.rmi.factories.SecureSocketFactoryProvider
- Alle implementierten Schnittstellen:
SocketFactoryProvider
Provides instances of
RMIClientSocketFactory
and RMIServerSocketFactory
that are
implemented over the SSL or TLS protocols.
Since these factories don't support anonymous cipher suites a keystore on the server-side and a
truststore on the client-side is necessary.-
Konstruktorübersicht
KonstruktorBeschreibungSecureSocketFactoryProvider
(SslParameterSet sslParameterSet) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns aRMIClientSocketFactory
.Returns aRMIServerSocketFactory
.
-
Konstruktordetails
-
SecureSocketFactoryProvider
Creates a new instance.- Parameter:
sslParameterSet
- The SSL parameters to be used for creating socket factories.
-
-
Methodendetails
-
getClientSocketFactory
Beschreibung aus Schnittstelle kopiert:SocketFactoryProvider
Returns aRMIClientSocketFactory
.- Angegeben von:
getClientSocketFactory
in SchnittstelleSocketFactoryProvider
- Gibt zurück:
- A
RMIClientSocketFactory
. May benull
to indicate that a default factory implementation is to be used.
-
getServerSocketFactory
Beschreibung aus Schnittstelle kopiert:SocketFactoryProvider
Returns aRMIServerSocketFactory
.- Angegeben von:
getServerSocketFactory
in SchnittstelleSocketFactoryProvider
- Gibt zurück:
- A
RMIServerSocketFactory
. May benull
to indicate that a default factory implementation is to be used.
-