public abstract class SSLServerSocketFactory extends ServerSocketFactory
SSLServerSocketFactory
s创建
SSLServerSocket
s。
SSLSocket
,
SSLServerSocket
Modifier | Constructor and Description |
---|---|
protected |
SSLServerSocketFactory()
构造函数只被子类使用。
|
Modifier and Type | Method and Description |
---|---|
static ServerSocketFactory |
getDefault()
返回默认的SSL服务器套接字工厂。
|
abstract String[] |
getDefaultCipherSuites()
返回默认启用的密码列表列表。
|
abstract String[] |
getSupportedCipherSuites()
返回的密码套件可用于SSL连接本厂创建启用的名字。
|
createServerSocket, createServerSocket, createServerSocket, createServerSocket
public static ServerSocketFactory getDefault()
第一次调用此方法,安全性“SSL。serversocketfactory。提供者”的研究。如果它是非空的,此名称的类加载和实例化。如果成功的话,对象是sslserversocketfactory实例,这是默认的SSL服务器套接字工厂。
否则,此方法返回SSLContext.getDefault().getServerSocketFactory()
。如果调用失败,返回一个无效的工厂。
ServerSocketFactory
SSLContext.getDefault()
public abstract String[] getDefaultCipherSuites()
getSupportedCipherSuites()
public abstract String[] getSupportedCipherSuites()
getDefaultCipherSuites()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.