Additional top-level class in compilation unit: DefaultSSLServerSocketFactory.
SSLServerSocketFactorys create
SSLServerSockets.
SSLSocket, SSLServerSocket
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static ServerSocketFactory | Returns: the defaultServerSocketFactoryHides javax. Returns the default SSL server socket factory. |
| public abstract String[] | Returns: array of the cipher suites enabled by defaultReturns the list of cipher suites which are enabled by default. |
| public abstract String[] | Returns: an array of cipher suite namesReturns the names of the cipher suites which could be enabled for use on an SSL connection created by this factory. |
| SSLServerSocketFactory | back to summary |
|---|---|
| protected SSLServerSocketFactory() Constructor is used only by subclasses. | |
| getDefault | back to summary |
|---|---|
| public static ServerSocketFactory getDefault() Hides javax. Returns the default SSL server socket factory. The first time this method is called, the security property "ssl.ServerSocketFactory.provider" is examined. If it is non-null, a class by that name is loaded and instantiated. If that is successful and the object is an instance of SSLServerSocketFactory, it is made the default SSL server socket factory. Otherwise, this method returns
| |
| getDefaultCipherSuites | back to summary |
|---|---|
| public abstract String[] getDefaultCipherSuites() Returns the list of cipher suites which are enabled by default. Unless a different list is enabled, handshaking on an SSL connection will use one of these cipher suites. The minimum quality of service for these defaults requires confidentiality protection and server authentication (that is, no anonymous cipher suites). The returned array includes cipher suites from the list of standard cipher suite names in the JSSE Cipher Suite Names section of the Java Security Standard Algorithm Names Specification, and may also include other cipher suites that the provider supports.
| |
| getSupportedCipherSuites | back to summary |
|---|---|
| public abstract String[] getSupportedCipherSuites() Returns the names of the cipher suites which could be enabled for use on an SSL connection created by this factory. Normally, only a subset of these will actually be enabled by default, since this list may include cipher suites which do not meet quality of service requirements for those defaults. Such cipher suites are useful in specialized applications. The returned array includes cipher suites from the list of standard cipher suite names in the JSSE Cipher Suite Names section of the Java Security Standard Algorithm Names Specification, and may also include other cipher suites that the provider supports.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final SSLServerSocketFactory |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void |
| defaultFactory | back to summary |
|---|---|
| private static final SSLServerSocketFactory defaultFactory | |
| DefaultFactoryHolder | back to summary |
|---|---|
| private DefaultFactoryHolder() | |
| log | back to summary |
|---|---|
| private static void log(String msg) | |