Class OpenSSLEngineOptions

    • Field Detail

      • DEFAULT_SESSION_CACHE_ENABLED

        public static final boolean DEFAULT_SESSION_CACHE_ENABLED
        Default value of whether session cache is enabled in open SSL session server context = true
        See Also:
        Constant Field Values
    • Constructor Detail

      • OpenSSLEngineOptions

        public OpenSSLEngineOptions()
      • OpenSSLEngineOptions

        public OpenSSLEngineOptions​(JsonObject json)
    • Method Detail

      • isAvailable

        public static boolean isAvailable()
        Returns:
        when OpenSSL is available
      • isAlpnAvailable

        public static boolean isAlpnAvailable()
        Returns:
        when alpn support is available via OpenSSL engine
      • setSessionCacheEnabled

        public OpenSSLEngineOptions setSessionCacheEnabled​(boolean sessionCacheEnabled)
        Set whether session cache is enabled in open SSL session server context
        Parameters:
        sessionCacheEnabled - true if session cache is enabled
        Returns:
        a reference to this, so the API can be used fluently
      • isSessionCacheEnabled

        public boolean isSessionCacheEnabled()
        Whether session cache is enabled in open SSL session server context
        Returns:
        true if session cache is enabled
      • setUseWorkerThread

        public OpenSSLEngineOptions setUseWorkerThread​(boolean useWorkerThread)
        Description copied from class: SSLEngineOptions
        Set the thread pool to use for SSL blocking operations.
        Overrides:
        setUseWorkerThread in class SSLEngineOptions
        Parameters:
        useWorkerThread - whether to use the vertx internal worker pool for SSL blocking operations
        Returns:
        a reference to this, so the API can be used fluently