Class SslConfig


  • public class SslConfig
    extends Object
    • Field Detail

      • DISABLE_INSTANCE

        public static final SslConfig DISABLE_INSTANCE
    • Constructor Detail

      • SslConfig

        public SslConfig​(SslMode sslMode,
                         String serverSslCert,
                         String clientSslCert,
                         String clientSslKey,
                         CharSequence clientSslPassword,
                         List<String> tlsProtocol,
                         UnaryOperator<io.netty.handler.ssl.SslContextBuilder> sslContextBuilderCustomizer)
                  throws io.r2dbc.spi.R2dbcTransientResourceException
        Throws:
        io.r2dbc.spi.R2dbcTransientResourceException
      • SslConfig

        public SslConfig​(SslMode sslMode)
    • Method Detail

      • getSslMode

        public SslMode getSslMode()
      • getSslContext

        public io.netty.handler.ssl.SslContext getSslContext()
                                                      throws io.r2dbc.spi.R2dbcTransientResourceException,
                                                             SSLException
        Throws:
        io.r2dbc.spi.R2dbcTransientResourceException
        SSLException