Lines Matching refs:protocols
454 public static void setEnabledProtocols(int ssl, String[] protocols) {
455 checkEnabledProtocols(protocols);
456 // openssl uses negative logic letting you disable protocols.
461 for (int i = 0; i < protocols.length; i++) {
462 String protocol = protocols[i];
485 public static String[] checkEnabledProtocols(String[] protocols) {
486 if (protocols == null) {
487 throw new IllegalArgumentException("protocols == null");
489 for (int i = 0; i < protocols.length; i++) {
490 String protocol = protocols[i];
492 throw new IllegalArgumentException("protocols[" + i + "] == null");
502 return protocols;
638 * protocols to {@link #SSL_do_handshake}.