| 限定符和类型 | 类和说明 |
|---|---|
private static class |
SSLConfiguration.CustomizedClientSignatureSchemes |
private static class |
SSLConfiguration.CustomizedServerSignatureSchemes |
| 构造器和说明 |
|---|
SSLConfiguration(SSLContextImpl sslContext,
boolean isClientMode) |
| 限定符和类型 | 方法和说明 |
|---|---|
(专用程序包) void |
addHandshakeCompletedListener(HandshakeCompletedListener listener) |
Object |
clone() |
private static List<SignatureScheme> |
getCustomizedSignatureScheme(String propertyName) |
(专用程序包) SSLExtension[] |
getEnabledExtensions(SSLHandshake handshakeType)
Get the enabled extensions for the specific handshake message.
|
(专用程序包) SSLExtension[] |
getEnabledExtensions(SSLHandshake handshakeType,
List<ProtocolVersion> activeProtocols)
Get the enabled extensions for the specific handshake message
and the specific protocol versions.
|
(专用程序包) SSLExtension[] |
getEnabledExtensions(SSLHandshake handshakeType,
ProtocolVersion protocolVersion)
Get the enabled extensions for the specific handshake message
and the specific protocol version.
|
(专用程序包) SSLExtension[] |
getExclusiveExtensions(SSLHandshake handshakeType,
List<SSLExtension> excluded)
Get the enabled extensions for the specific handshake message, excluding
the specified extensions.
|
(专用程序包) SSLParameters |
getSSLParameters() |
(专用程序包) boolean |
isAvailable(SSLExtension extension)
Return true if the extension is available.
|
(专用程序包) boolean |
isAvailable(SSLExtension extension,
ProtocolVersion protocolVersion)
Return true if the extension is available for the specific protocol.
|
(专用程序包) void |
removeHandshakeCompletedListener(HandshakeCompletedListener listener) |
(专用程序包) void |
setSSLParameters(SSLParameters params) |
(专用程序包) void |
toggleClientMode() |
AlgorithmConstraints userSpecifiedAlgorithmConstraints
List<ProtocolVersion> enabledProtocols
List<CipherSuite> enabledCipherSuites
ClientAuthType clientAuthType
String identificationProtocol
List<SNIServerName> serverNames
Collection<SNIMatcher> sniMatchers
String[] applicationProtocols
boolean preferLocalCipherSuites
int maximumPacketSize
List<SignatureScheme> signatureSchemes
ProtocolVersion maximumProtocolVersion
boolean isClientMode
boolean enableSessionCreation
java.util.function.BiFunction<SSLSocket,List<String>,String> socketAPSelector
java.util.function.BiFunction<SSLEngine,List<String>,String> engineAPSelector
HashMap<HandshakeCompletedListener,AccessControlContext> handshakeListeners
boolean noSniExtension
boolean noSniMatcher
static final boolean useExtendedMasterSecret
static final boolean allowLegacyResumption
static final boolean allowLegacyMasterSecret
static final boolean useCompatibilityMode
static final boolean acknowledgeCloseNotify
static final int maxHandshakeMessageSize
static final int maxCertificateChainLength
SSLConfiguration(SSLContextImpl sslContext, boolean isClientMode)
SSLParameters getSSLParameters()
void setSSLParameters(SSLParameters params)
void addHandshakeCompletedListener(HandshakeCompletedListener listener)
void removeHandshakeCompletedListener(HandshakeCompletedListener listener)
boolean isAvailable(SSLExtension extension)
boolean isAvailable(SSLExtension extension, ProtocolVersion protocolVersion)
SSLExtension[] getEnabledExtensions(SSLHandshake handshakeType)
SSLExtension[] getExclusiveExtensions(SSLHandshake handshakeType, List<SSLExtension> excluded)
SSLExtension[] getEnabledExtensions(SSLHandshake handshakeType, ProtocolVersion protocolVersion)
SSLExtension[] getEnabledExtensions(SSLHandshake handshakeType, List<ProtocolVersion> activeProtocols)
void toggleClientMode()
private static List<SignatureScheme> getCustomizedSignatureScheme(String propertyName)
Copyright © 2023. All rights reserved.