SslContext.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final ClientAuth | |
| private final List | |
| private final Set | |
| private final Set | |
| private final String | |
| private final boolean | |
| private final KeyManagerFactory | |
| private final Function | |
| private final Supplier | |
| private static final TrustManager | |
| private final TrustManagerFactory | |
| private final Function |
| Access | Constructor and Description |
|---|---|
| public | SslContextProvider(boolean jdkSSLProvider, ClientAuth clientAuth, String endpointIdentificationAlgorithm, List<String> applicationProtocols, Set<String> enabledCipherSuites, Set<String> enabledProtocols, KeyManagerFactory keyManagerFactory, Function<String, KeyManagerFactory> keyManagerFactoryMapper, TrustManagerFactory trustManagerFactory, Function<String, TrustManager[]> trustManagerMapper, List<CRL> crls, Supplier<SslContextFactory> provider)
|
| Modifier and Type | Method and Description |
|---|---|
| private VertxTrustManagerFactory | |
| public void | |
| public VertxSslContext | createClientContext(KeyManagerFactory keyManagerFactory, TrustManager[] trustManagers, String serverName, boolean useAlpn)
|
| public VertxSslContext | createContext(boolean server, KeyManagerFactory keyManagerFactory, TrustManager[] trustManagers, String serverName, boolean useAlpn, boolean trustAll)
|
| public VertxSslContext | |
| public VertxSslContext | createServerContext(KeyManagerFactory keyManagerFactory, TrustManager[] trustManagers, String serverName, boolean useAlpn)
|
| private static TrustManager[] | |
| private static TrustManager[] | |
| public KeyManagerFactory | |
| public TrustManagerFactory | |
| public TrustManager[] | |
| pack-priv boolean | |
| public KeyManagerFactory | Returns: the factorythe server name serverName)Resolve the |
| public TrustManager[] | Returns: the managersthe server name serverName)Resolve the |
| applicationProtocols | back to summary |
|---|---|
| private final List<String> applicationProtocols | |
| clientAuth | back to summary |
|---|---|
| private final ClientAuth clientAuth | |
| crls | back to summary |
|---|---|
| private final List<CRL> crls | |
| enabledCipherSuites | back to summary |
|---|---|
| private final Set<String> enabledCipherSuites | |
| enabledProtocols | back to summary |
|---|---|
| private final Set<String> enabledProtocols | |
| endpointIdentificationAlgorithm | back to summary |
|---|---|
| private final String endpointIdentificationAlgorithm | |
| jdkSSLProvider | back to summary |
|---|---|
| private final boolean jdkSSLProvider | |
| keyManagerFactory | back to summary |
|---|---|
| private final KeyManagerFactory keyManagerFactory | |
| keyManagerFactoryMapper | back to summary |
|---|---|
| private final Function<String, KeyManagerFactory> keyManagerFactoryMapper | |
| provider | back to summary |
|---|---|
| private final Supplier<SslContextFactory> provider | |
| TRUST_ALL_MANAGER | back to summary |
|---|---|
| private static final TrustManager TRUST_ALL_MANAGER | |
| trustManagerFactory | back to summary |
|---|---|
| private final TrustManagerFactory trustManagerFactory | |
| trustManagerMapper | back to summary |
|---|---|
| private final Function<String, TrustManager[]> trustManagerMapper | |
| SslContextProvider | back to summary |
|---|---|
| public SslContextProvider(boolean jdkSSLProvider, ClientAuth clientAuth, String endpointIdentificationAlgorithm, List<String> applicationProtocols, Set<String> enabledCipherSuites, Set<String> enabledProtocols, KeyManagerFactory keyManagerFactory, Function<String, KeyManagerFactory> keyManagerFactoryMapper, TrustManagerFactory trustManagerFactory, Function<String, TrustManager[]> trustManagerMapper, List<CRL> crls, Supplier<SslContextFactory> provider) | |
| buildVertxTrustManagerFactory | back to summary |
|---|---|
| private VertxTrustManagerFactory buildVertxTrustManagerFactory(TrustManager[] mgrs) | |
| configureEngine | back to summary |
|---|---|
| public void configureEngine(SSLEngine engine, Set<String> enabledProtocols, String serverName, boolean client) | |
| createClientContext | back to summary |
|---|---|
| public VertxSslContext createClientContext(KeyManagerFactory keyManagerFactory, TrustManager[] trustManagers, String serverName, boolean useAlpn) | |
| createContext | back to summary |
|---|---|
| public VertxSslContext createContext(boolean server, KeyManagerFactory keyManagerFactory, TrustManager[] trustManagers, String serverName, boolean useAlpn, boolean trustAll) | |
| createContext | back to summary |
|---|---|
| public VertxSslContext createContext(boolean server, boolean useAlpn) | |
| createServerContext | back to summary |
|---|---|
| public VertxSslContext createServerContext(KeyManagerFactory keyManagerFactory, TrustManager[] trustManagers, String serverName, boolean useAlpn) | |
| createTrustAllManager | back to summary |
|---|---|
| private static TrustManager[] createTrustAllManager() | |
| createUntrustRevokedCertTrustManager | back to summary |
|---|---|
| private static TrustManager[] createUntrustRevokedCertTrustManager(TrustManager[] trustMgrs, List<CRL> crls) | |
| defaultKeyManagerFactory | back to summary |
|---|---|
| public KeyManagerFactory defaultKeyManagerFactory() | |
| defaultTrustManagerFactory | back to summary |
|---|---|
| public TrustManagerFactory defaultTrustManagerFactory() | |
| defaultTrustManagers | back to summary |
|---|---|
| public TrustManager[] defaultTrustManagers() | |
| jdkSSLProvider | back to summary |
|---|---|
| pack-priv boolean jdkSSLProvider() | |
| resolveKeyManagerFactory | back to summary |
|---|---|
| public KeyManagerFactory resolveKeyManagerFactory(String serverName) throws Exception Resolve the
| |
| resolveTrustManagers | back to summary |
|---|---|
| public TrustManager[] resolveTrustManagers(String serverName) throws Exception Resolve the
| |