/** * A convenience method to add a cipher suite by name. If the underlying socket layer does not support the named * cipher suite, or if the cipher suite is invalid, it will not be added. This is a shortcut for calling * {@code add(Predicate.matchName(cipherSuiteName))}. The cipher suite name must be a standard or OpenSSL-style * mechanism name identifying a single mechanism. * * @param cipherSuiteName the cipher suite name * @return a new selector which includes the new rule */ public CipherSuiteSelector add(final String cipherSuiteName) { return add(CipherSuitePredicate.matchName(cipherSuiteName)); }
predicate = parsePredicate(i, name); if (predicate != null) { current = current.add(predicate); } else { switch (name) { case "DEFAULT": current = current.add(CipherSuitePredicate.matchOpenSslAll()) .deleteFully(CipherSuitePredicate.matchOpenSslDefaultDeletes()); break; case "COMPLEMENTOFDEFAULT": current = current.add(CipherSuitePredicate.matchAnonDH()); break; case "ALL": current = current.add(CipherSuitePredicate.matchOpenSslAll()); break; case "COMPLEMENTOFALL": current = current.add(CipherSuitePredicate.matchOpenSslComplementOfAll()); break;
/** * A convenience method to add a cipher suite by name. If the underlying socket layer does not support the named * cipher suite, or if the cipher suite is invalid, it will not be added. This is a shortcut for calling * {@code add(Predicate.matchName(cipherSuiteName))}. The cipher suite name must be a standard or OpenSSL-style * mechanism name identifying a single mechanism. * * @param cipherSuiteName the cipher suite name * @return a new selector which includes the new rule */ public CipherSuiteSelector add(final String cipherSuiteName) { return add(CipherSuitePredicate.matchName(cipherSuiteName)); }
/** * A convenience method to add a cipher suite by name. If the underlying socket layer does not support the named * cipher suite, or if the cipher suite is invalid, it will not be added. This is a shortcut for calling * {@code add(Predicate.matchName(cipherSuiteName))}. The cipher suite name must be a standard or OpenSSL-style * mechanism name identifying a single mechanism. * * @param cipherSuiteName the cipher suite name * @return a new selector which includes the new rule */ public CipherSuiteSelector add(final String cipherSuiteName) { return add(CipherSuitePredicate.matchName(cipherSuiteName)); }
/** * A convenience method to add a cipher suite by name. If the underlying socket layer does not support the named * cipher suite, or if the cipher suite is invalid, it will not be added. This is a shortcut for calling * {@code add(Predicate.matchName(cipherSuiteName))}. The cipher suite name must be a standard or OpenSSL-style * mechanism name identifying a single mechanism. * * @param cipherSuiteName the cipher suite name * @return a new selector which includes the new rule */ public CipherSuiteSelector add(final String cipherSuiteName) { return add(CipherSuitePredicate.matchName(cipherSuiteName)); }
predicate = parsePredicate(i, name); if (predicate != null) { current = current.add(predicate); } else { switch (name) { case "DEFAULT": current = current.add(CipherSuitePredicate.matchOpenSslAll()) .deleteFully(CipherSuitePredicate.matchOpenSslDefaultDeletes()); break; case "COMPLEMENTOFDEFAULT": current = current.add(CipherSuitePredicate.matchAnonDH()); break; case "ALL": current = current.add(CipherSuitePredicate.matchOpenSslAll()); break; case "COMPLEMENTOFALL": current = current.add(CipherSuitePredicate.matchOpenSslComplementOfAll()); break;
predicate = parsePredicate(i, name); if (predicate != null) { current = current.add(predicate); } else { switch (name) { case "DEFAULT": current = current.add(CipherSuitePredicate.matchOpenSslAll()) .deleteFully(CipherSuitePredicate.matchOpenSslDefaultDeletes()); break; case "COMPLEMENTOFDEFAULT": current = current.add(CipherSuitePredicate.matchAnonDH()); break; case "ALL": current = current.add(CipherSuitePredicate.matchOpenSslAll()); break; case "COMPLEMENTOFALL": current = current.add(CipherSuitePredicate.matchOpenSslComplementOfAll()); break;
predicate = parsePredicate(i, name); if (predicate != null) { current = current.add(predicate); } else { switch (name) { case "DEFAULT": current = current.add(CipherSuitePredicate.matchOpenSslAll()) .deleteFully(CipherSuitePredicate.matchOpenSslDefaultDeletes()); break; case "COMPLEMENTOFDEFAULT": current = current.add(CipherSuitePredicate.matchAnonDH()); break; case "ALL": current = current.add(CipherSuitePredicate.matchOpenSslAll()); break; case "COMPLEMENTOFALL": current = current.add(CipherSuitePredicate.matchOpenSslComplementOfAll()); break;