Connection.setTlsProtocols
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.dcm4che3.net.Connection.setTlsProtocols(Showing top 15 results out of 315)

origin: dcm4che/dcm4che

public void init() {
  remote.setTlsProtocols(conn.getTlsProtocols());
  remote.setTlsCipherSuites(conn.getTlsCipherSuites());
  logDevice.setScheduledExecutor(Executors.newSingleThreadScheduledExecutor());
  auditLogger.sendQueuedMessages();
}
origin: dcm4che/dcm4che

public static void setTlsParams(Connection remote, Connection conn) {
  remote.setTlsProtocols(conn.getTlsProtocols());
  remote.setTlsCipherSuites(conn.getTlsCipherSuites());
}
origin: dcm4che/dcm4che

@SuppressWarnings("unchecked")
public static void main(String[] args) {
  try {
    CommandLine cl = parseComandLine(args);
    HL7Snd main = new HL7Snd();
    configureConnect(main.remote, cl);
    configureBind(main.conn, cl);
    CLIUtils.configure(main.conn, cl);
    main.remote.setTlsProtocols(main.conn.getTlsProtocols());
    main.remote.setTlsCipherSuites(main.conn.getTlsCipherSuites());
    try {
      main.open();
      main.sendFiles(cl.getArgList());
    } finally {
      main.close();
    }
  } catch (ParseException e) {
    System.err.println("hl7snd: " + e.getMessage());
    System.err.println(rb.getString("try"));
    System.exit(2);
  } catch (Exception e) {
    System.err.println("hl7snd: " + e.getMessage());
    e.printStackTrace();
    System.exit(2);
  }
}
origin: dcm4che/dcm4che

setTlsNeedClientAuth(from.tlsNeedClientAuth);
setTlsCipherSuites(from.tlsCipherSuites);
setTlsProtocols(from.tlsProtocols);
setBlacklist(from.blacklist);
setInstalled(from.installed);
origin: dcm4che/dcm4che

  conn.setTlsProtocols("TLSv1.2");
else if (cl.hasOption("tls11"))
  conn.setTlsProtocols("TLSv1.1");
else if (cl.hasOption("tls1"))
  conn.setTlsProtocols("TLSv1");
else if (cl.hasOption("ssl3"))
  conn.setTlsProtocols("SSLv3");
else if (cl.hasOption("ssl2Hello"))
  conn.setTlsProtocols("SSLv2Hello", "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2");
else if (cl.hasOption("tls-protocol"))
  conn.setTlsProtocols(cl.getOptionValues("tls-protocol"));
origin: dcm4che/dcm4che

CLIUtils.configure(main.conn, cl);
main.setCharacterSet(cl.getOptionValue("charset"));
main.remote.setTlsProtocols(main.conn.getTlsProtocols());
main.remote.setTlsCipherSuites(main.conn.getTlsCipherSuites());
List<String> argList = cl.getArgList();
origin: dcm4che/dcm4che

CLIUtils.configureBind(main.conn, main.ae, cl);
CLIUtils.configure(main.conn, cl);
main.remote.setTlsProtocols(main.conn.getTlsProtocols());
main.remote.setTlsCipherSuites(main.conn.getTlsCipherSuites());
configureServiceClass(main, cl);
origin: dcm4che/dcm4che

conn.setClientBindAddress(LdapUtils.stringValue(attrs.get("dcmClientBindAddress"), null));
conn.setTlsNeedClientAuth(LdapUtils.booleanValue(attrs.get("dcmTLSNeedClientAuth"), true));
conn.setTlsProtocols(LdapUtils.stringArray(attrs.get("dcmTLSProtocol"), Connection.DEFAULT_TLS_PROTOCOLS));
conn.setSendPDULength(LdapUtils.intValue(attrs.get("dcmSendPDULength"),
    Connection.DEF_MAX_PDU_LENGTH));
origin: dcm4che/dcm4che

CLIUtils.configureBind(conn, stgcmtscu.ae, cl);
CLIUtils.configure(conn, cl);
stgcmtscu.remote.setTlsProtocols(conn.getTlsProtocols());
stgcmtscu.remote.setTlsCipherSuites(conn.getTlsCipherSuites());
stgcmtscu.setTransferSyntaxes(CLIUtils.transferSyntaxesOf(cl));
origin: dcm4che/dcm4che

CLIUtils.configureBind(conn, main.ae, cl);
CLIUtils.configure(conn, cl);
main.remote.setTlsProtocols(conn.getTlsProtocols());
main.remote.setTlsCipherSuites(conn.getTlsCipherSuites());
main.setTransferSyntaxes(CLIUtils.transferSyntaxesOf(cl));
origin: dcm4che/dcm4che

CLIUtils.configureBind(main.conn, main.ae, cl);
CLIUtils.configure(main.conn, cl);
main.remote.setTlsProtocols(main.conn.getTlsProtocols());
main.remote.setTlsCipherSuites(main.conn.getTlsCipherSuites());
configureServiceClass(main, cl);
origin: dcm4che/dcm4che

CLIUtils.configureBind(main.conn, main.ae, cl);
CLIUtils.configure(main.conn, cl);
main.remote.setTlsProtocols(main.conn.getTlsProtocols());
main.remote.setTlsCipherSuites(main.conn.getTlsCipherSuites());
main.setTransferSyntaxes(CLIUtils.transferSyntaxesOf(cl));
origin: dcm4che/dcm4che

  break;
case "dcmTLSProtocol":
  conn.setTlsProtocols(reader.stringArray());
  break;
case "dcmSendPDULength":
origin: dcm4che/dcm4che

CLIUtils.configureBind(conn, ae, cl);
CLIUtils.configure(conn, cl);
main.remote.setTlsProtocols(conn.getTlsProtocols());
main.remote.setTlsCipherSuites(conn.getTlsCipherSuites());
configureRelatedSOPClass(main, cl);
origin: dcm4che/dcm4che

CLIUtils.configureBind(main.conn, main.ae, cl);
CLIUtils.configure(main.conn, cl);
main.remote.setTlsProtocols(main.conn.getTlsProtocols());
main.remote.setTlsCipherSuites(main.conn.getTlsCipherSuites());
configureServiceClass(main, cl);
org.dcm4che3.netConnectionsetTlsProtocols

Popular methods of Connection

  • setTlsCipherSuites
    The TLS CipherSuites that are supported on this particular connection. TLS CipherSuites shall be des
  • getTlsCipherSuites
    The TLS CipherSuites that are supported on this particular connection. TLS CipherSuites shall be des
  • getTlsProtocols
  • <init>
  • setHostname
    This is the DNS name for this particular connection. This is used to obtain the current IP address f
  • setPort
    The TCP port that the AE is listening on or 0 for a network connection that only initiates associati
  • setHttpProxy
  • getResponseTimeout
  • setProtocol
  • close
  • connect
  • getIdleTimeout
  • connect,
  • getIdleTimeout,
  • getProtocol,
  • getDevice,
  • getHostname,
  • isServer,
  • setAcceptTimeout,
  • setCommonName,
  • setConnectTimeout

Popular classes and methods

  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
  • Rectangle (java.awt)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)