public class DefaultCipherSuiteSelector extends Object implements CipherSuiteSelector
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
DefaultCipherSuiteSelector() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
select(CipherSuite cipherSuite,
CipherSuiteParameters parameters)
Check, if provided cipher suite is supported by both peers.
|
boolean |
select(CipherSuiteParameters parameters)
Select ciphersuite and parameters.
|
protected boolean |
selectForCertificate(CipherSuiteParameters parameters,
CipherSuite cipherSuite) |
public boolean select(CipherSuiteParameters parameters)
CipherSuiteSelectorselect in interface CipherSuiteSelectorparameters - common ciphersuites and crypto parameters. On success,
the ciphersuite and parameters gets selected in this argument.true, if a ciphersuite and parameters could be selected,
false, otherwise.protected boolean select(CipherSuite cipherSuite, CipherSuiteParameters parameters)
cipherSuite - cipher suite to check,parameters - parameters to be used to checktrue, if cipher suite is supported by both peers,
false, otherwise.protected boolean selectForCertificate(CipherSuiteParameters parameters, CipherSuite cipherSuite)
Copyright © 2023 Eclipse Foundation. All rights reserved.