/** * Create an SSL context factory which locates the best context by searching the preferred providers in order using * the rules established in the given protocol selector. If there are no matches, a factory is returned which * * @param protocolSelector the protocol selector * @param providerSupplier the provider supplier * @return the SSL context factory */ public static SecurityFactory<SSLContext> createSslContextFactory(ProtocolSelector protocolSelector, Supplier<Provider[]> providerSupplier) { return createSslContextFactory(protocolSelector, providerSupplier, null); }
final SecurityFactory<SSLContext> sslContextFactory = SSLUtils.createSslContextFactory(protocolSelector, providerSupplier, providerName);
/** * Create an SSL context factory which locates the best context by searching the preferred providers in order using * the rules established in the given protocol selector. If there are no matches, a factory is returned which * * @param protocolSelector the protocol selector * @param providerSupplier the provider supplier * @return the SSL context factory */ public static SecurityFactory<SSLContext> createSslContextFactory(ProtocolSelector protocolSelector, Supplier<Provider[]> providerSupplier) { return createSslContextFactory(protocolSelector, providerSupplier, null); }
/** * Create an SSL context factory which locates the best context by searching the preferred providers in order using * the rules established in the given protocol selector. If there are no matches, a factory is returned which * * @param protocolSelector the protocol selector * @param providerSupplier the provider supplier * @return the SSL context factory */ public static SecurityFactory<SSLContext> createSslContextFactory(ProtocolSelector protocolSelector, Supplier<Provider[]> providerSupplier) { return createSslContextFactory(protocolSelector, providerSupplier, null); }
/** * Create an SSL context factory which locates the best context by searching the preferred providers in order using * the rules established in the given protocol selector. If there are no matches, a factory is returned which * * @param protocolSelector the protocol selector * @param providerSupplier the provider supplier * @return the SSL context factory */ public static SecurityFactory<SSLContext> createSslContextFactory(ProtocolSelector protocolSelector, Supplier<Provider[]> providerSupplier) { return createSslContextFactory(protocolSelector, providerSupplier, null); }
final SecurityFactory<SSLContext> sslContextFactory = SSLUtils.createSslContextFactory(protocolSelector, providerSupplier, providerName);
final SecurityFactory<SSLContext> sslContextFactory = SSLUtils.createSslContextFactory(protocolSelector, providerSupplier, providerName);
final SecurityFactory<SSLContext> sslContextFactory = SSLUtils.createSslContextFactory(protocolSelector, providerSupplier, providerName);