/** * Get a new & initialized SSL configurator instance. * * The instance {@link #retrieve(java.util.Properties) retrieves} the initial configuration from * {@link System#getProperties() system properties}. * * @return new & initialized SSL configurator instance. */ public static SslConfigurator newInstance() { return new SslConfigurator(false); }
/** * Create a copy of the current SSL configurator instance. * * @return copy of the current SSL configurator instance */ public SslConfigurator copy() { return new SslConfigurator(this); }
/** * Create a copy of the current SSL configurator instance. * * @return copy of the current SSL configurator instance */ public SslConfigurator copy() { return new SslConfigurator(this); }
/** * Get a new & initialized SSL configurator instance. * * The instance {@link #retrieve(java.util.Properties) retrieves} the initial configuration from * {@link System#getProperties() system properties}. * * @return new & initialized SSL configurator instance. */ public static SslConfigurator newInstance() { return new SslConfigurator(false); }
/** * Get a new SSL configurator instance. * * @param readSystemProperties if {@code true}, {@link #retrieve(java.util.Properties) Retrieves} * the initial configuration from {@link System#getProperties()}, * otherwise the instantiated configurator will be empty. * @return new SSL configurator instance. */ public static SslConfigurator newInstance(boolean readSystemProperties) { return new SslConfigurator(readSystemProperties); }
/** * Get a new SSL configurator instance. * * @param readSystemProperties if {@code true}, {@link #retrieve(java.util.Properties) Retrieves} * the initial configuration from {@link System#getProperties()}, * otherwise the instantiated configurator will be empty. * @return new SSL configurator instance. */ public static SslConfigurator newInstance(boolean readSystemProperties) { return new SslConfigurator(readSystemProperties); }
/** * Get a new instance of a {@link SSLContext} configured using default configuration settings. * * If {@code readSystemProperties} parameter is set to {@code true}, the default SSL configuration * is initialized from system properties. * * @param readSystemProperties if {@code true}, the default SSL context will be initialized using * system properties. * @return new instance of a default SSL context initialized from system properties. */ public static SSLContext getDefaultContext(boolean readSystemProperties) { if (readSystemProperties) { return new SslConfigurator(true).createSSLContext(); } else { return DEFAULT_CONFIG_NO_PROPS.createSSLContext(); } }
/** * Get a new instance of a {@link SSLContext} configured using default configuration settings. * * If {@code readSystemProperties} parameter is set to {@code true}, the default SSL configuration * is initialized from system properties. * * @param readSystemProperties if {@code true}, the default SSL context will be initialized using * system properties. * @return new instance of a default SSL context initialized from system properties. */ public static SSLContext getDefaultContext(boolean readSystemProperties) { if (readSystemProperties) { return new SslConfigurator(true).createSSLContext(); } else { return DEFAULT_CONFIG_NO_PROPS.createSSLContext(); } }
/** * Create a copy of the current SSL configurator instance. * * @return copy of the current SSL configurator instance */ public SslConfigurator copy() { return new SslConfigurator(this); }
/** * Get a new & initialized SSL configurator instance. * * The instance {@link #retrieve(java.util.Properties) retrieves} the initial configuration from * {@link System#getProperties() system properties}. * * @return new & initialized SSL configurator instance. */ public static SslConfigurator newInstance() { return new SslConfigurator(false); }
/** * Get a new SSL configurator instance. * * @param readSystemProperties if {@code true}, {@link #retrieve(java.util.Properties) Retrieves} * the initial configuration from {@link System#getProperties()}, * otherwise the instantiated configurator will be empty. * @return new SSL configurator instance. */ public static SslConfigurator newInstance(boolean readSystemProperties) { return new SslConfigurator(readSystemProperties); }
/** * Get a new SSL configurator instance. * * @param readSystemProperties if {@code true}, {@link #retrieve(java.util.Properties) Retrieves} * the initial configuration from {@link System#getProperties()}, * otherwise the instantiated configurator will be empty. * @return new SSL configurator instance. */ public static SslConfigurator newInstance(boolean readSystemProperties) { return new SslConfigurator(readSystemProperties); }
/** * Get a new & initialized SSL configurator instance. * * The instance {@link #retrieve(java.util.Properties) retrieves} the initial configuration from * {@link System#getProperties() system properties}. * * @return new & initialized SSL configurator instance. */ public static SslConfigurator newInstance() { return new SslConfigurator(false); }
/** * Get a new SSL configurator instance. * * @param readSystemProperties if {@code true}, {@link #retrieve(java.util.Properties) Retrieves} * the initial configuration from {@link System#getProperties()}, * otherwise the instantiated configurator will be empty. * @return new SSL configurator instance. */ public static SslConfigurator newInstance(boolean readSystemProperties) { return new SslConfigurator(readSystemProperties); }
/** * Create a copy of the current SSL configurator instance. * * @return copy of the current SSL configurator instance */ public SslConfigurator copy() { return new SslConfigurator(this); }
/** * Get a new & initialized SSL configurator instance. * * The instance {@link #retrieve(java.util.Properties) retrieves} the initial configuration from * {@link System#getProperties() system properties}. * * @return new & initialized SSL configurator instance. */ public static SslConfigurator newInstance() { return new SslConfigurator(false); }
/** * Get a new & initialized SSL configurator instance. * * The instance {@link #retrieve(java.util.Properties) retrieves} the initial configuration from * {@link System#getProperties() system properties}. * * @return new & initialized SSL configurator instance. */ public static SslConfigurator newInstance() { return new SslConfigurator(false); }
/** * Get a new SSL configurator instance. * * @param readSystemProperties if {@code true}, {@link #retrieve(java.util.Properties) Retrieves} * the initial configuration from {@link System#getProperties()}, * otherwise the instantiated configurator will be empty. * @return new SSL configurator instance. */ public static SslConfigurator newInstance(boolean readSystemProperties) { return new SslConfigurator(readSystemProperties); }
/** * Create a copy of the current SSL configurator instance. * * @return copy of the current SSL configurator instance */ public SslConfigurator copy() { return new SslConfigurator(this); }
/** * Create a copy of the current SSL configurator instance. * * @return copy of the current SSL configurator instance */ public SslConfigurator copy() { return new SslConfigurator(this); }