Uses of Class
org.newsclub.net.unix.ssl.SSLContextBuilder
Packages that use SSLContextBuilder
-
Uses of SSLContextBuilder in org.newsclub.net.unix.ssl
Methods in org.newsclub.net.unix.ssl that return SSLContextBuilderModifier and TypeMethodDescriptionstatic SSLContextBuilderSSLContextBuilder.forClient()Creates anSSLContextBuilderto be used in a client context.static SSLContextBuilderSSLContextBuilder.forServer()Creates anSSLContextBuilderto be used in a server context.SSLContextBuilder.withDefaultSSLParameters(Consumer<SSLParameters> consumer) Configures this builder to use the given consumer to configure the default SSL parameters.SSLContextBuilder.withDefaultSSLParameters(Function<SSLParameters, SSLParameters> function) Configures this builder to use the given function to configure the default SSL parameters.SSLContextBuilder.withKeyManagers(SSLFunction<KeyManagerFactory, KeyManager[]> s) Configures this builder to use the given supplier for {link KeyManager}[].SSLContextBuilder.withKeyStore(File path, SSLSupplier<char[]> password) Configures this builder to use the given keystore, identified by path and password.SSLContextBuilder.withKeyStore(URL url, SSLSupplier<char[]> password) Configures this builder to use the given keystore, identified by URL and password.SSLContextBuilder.withKeyStoreSupplier(SSLSupplier<KeyStore> supplier) Configures this builder to use the given supplier to provideKeyStoreinstances.SSLContextBuilder.withProtocol(String p) Configures this builder to use the given protocol.SSLContextBuilder.withProvider(String id) Configures this builder to use the given provider, identified by ID,nullbeing the default.SSLContextBuilder.withProvider(Provider p) Configures this builder to use the given provider,nullbeing the default.SSLContextBuilder.withSecureRandom(SecureRandom s) Configures this builder to use the given protocol.SSLContextBuilder.withSocketFactory(SocketFactory sf) Configures this builder to use the givenSocketFactoryto create the underlying insecure sockets.SSLContextBuilder.withTrustManagers(SSLFunction<TrustManagerFactory, TrustManager[]> s) Configures this builder to use the given supplier forTrustManager[].SSLContextBuilder.withTrustStore(File path, SSLSupplier<char[]> password) Configures this builder to use the given truststore, identified by path and password.SSLContextBuilder.withTrustStore(URL url, SSLSupplier<char[]> password) Configures this builder to use the given truststore, identified by path and password.