Class SslConfig


  • public class SslConfig
    extends java.lang.Object
    Captures the output of functions in SslUtil so that they can be easily used when constructing a DatabaseClient, which requires the X509TrustManager to be an input separate from the SSLContext.
    • Constructor Summary

      Constructors 
      Constructor Description
      SslConfig​(javax.net.ssl.SSLContext sslContext, javax.net.ssl.X509TrustManager trustManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.net.ssl.SSLContext getSslContext()  
      javax.net.ssl.X509TrustManager getTrustManager()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SslConfig

        public SslConfig​(javax.net.ssl.SSLContext sslContext,
                         javax.net.ssl.X509TrustManager trustManager)
    • Method Detail

      • getSslContext

        public javax.net.ssl.SSLContext getSslContext()
      • getTrustManager

        public javax.net.ssl.X509TrustManager getTrustManager()