public class SecurePlatformSocketFactory extends PlatformSocketFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SSL_CONTEXT_METHOD_SSL |
static java.lang.String |
SSL_CONTEXT_METHOD_TLS |
| Constructor and Description |
|---|
SecurePlatformSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(CommunicationBinding binding)
Creates an SSL secured SE ServerSocket.
|
Socket |
createSocket(IPAddress ipAddress,
int port,
CredentialInfo credentialInfo)
Creates an SSL secured SE Socket.
|
boolean |
isSecureSocketFactory()
Rerturns always true because this is a secure platform socket factory.
|
getInstancepublic static final java.lang.String SSL_CONTEXT_METHOD_SSL
public static final java.lang.String SSL_CONTEXT_METHOD_TLS
public ServerSocket createServerSocket(CommunicationBinding binding) throws java.io.IOException
createServerSocket in class PlatformSocketFactoryadr - IP address.port - portalias - security aliasjava.io.IOExceptionpublic Socket createSocket(IPAddress ipAddress, int port, CredentialInfo credentialInfo) throws java.io.IOException
createSocket in class PlatformSocketFactoryadr - IP address.port - portalias - security aliasjava.io.IOExceptionpublic boolean isSecureSocketFactory()
isSecureSocketFactory in class PlatformSocketFactory