public final class IdentityCipherSuiteFilter extends java.lang.Object implements CipherSuiteFilter
Modifier and Type | Field and Description |
---|---|
static IdentityCipherSuiteFilter |
INSTANCE
当提供的密码为空时,默认为默认密码
|
static IdentityCipherSuiteFilter |
INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS
当提供的密码为空时,默认为支持的密码
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
filterCipherSuites(java.lang.Iterable<java.lang.String> ciphers, java.util.List<java.lang.String> defaultCiphers, java.util.Set<java.lang.String> supportedCiphers)
根据其他密码特征过滤请求的
ciphers 。
|
public static final IdentityCipherSuiteFilter INSTANCE
public static final IdentityCipherSuiteFilter INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS
public java.lang.String[] filterCipherSuites(java.lang.Iterable<java.lang.String> ciphers, java.util.List<java.lang.String> defaultCiphers, java.util.Set<java.lang.String> supportedCiphers)
CipherSuiteFilter
ciphers
。
filterCipherSuites
,界面
CipherSuiteFilter
ciphers
- 请求的密码
defaultCiphers
- 由Netty确定的当前
SSLEngine
的默认推荐密码
supportedCiphers
- 当前支持的密码
SSLEngine
null
。
Copyright © 2008–2018 The Netty Project. All rights reserved.