public final class DefaultCipherProtocolFilters extends Object implements CipherFilter, ProtocolFilter
Modifier and Type | Field and Description |
---|---|
static DefaultCipherProtocolFilters |
INSATNCE
The instance of this class
|
Modifier and Type | Method and Description |
---|---|
String[] |
filterCiphers(String[] ciphers,
String[] recommendedCiphers,
Set<String> supportedCiphers)
Selects ciphers enabled for use on the
SSLEngine based upon the
requested, recommended and supported ciphers. |
String[] |
filterProtocols(String[] protocols,
String[] recommendedProtocols,
Set<String> supportedProtocols)
Selects protocols enabled for use on the
SSLEngine based upon the
requested, recommended and supported protocols. |
public static final DefaultCipherProtocolFilters INSATNCE
public String[] filterCiphers(String[] ciphers, String[] recommendedCiphers, Set<String> supportedCiphers)
CipherFilter
SSLEngine
based upon the
requested, recommended and supported ciphers.filterCiphers
in interface CipherFilter
ciphers
- the requested ciphers, or null
if no cipher was
requestedrecommendedCiphers
- the recommended ciphers for the current
SSLEngine
supportedCiphers
- the supported ciphers for the current
SSLEngine
SSLEngine
public String[] filterProtocols(String[] protocols, String[] recommendedProtocols, Set<String> supportedProtocols)
ProtocolFilter
SSLEngine
based upon the
requested, recommended and supported protocols.filterProtocols
in interface ProtocolFilter
protocols
- the requested protocols, or null
if no
protocol was requestedrecommendedProtocols
- the recommended protocols for the current
SSLEngine
supportedProtocols
- the supported protocols for the current
SSLEngine
SSLEngine
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.