com.amazon.redshift.ssl

## Class SSLUtil

- java.lang.Object
- - com.amazon.redshift.ssl.SSLUtil

    public final class SSLUtil
    extends Object

Utility class for SSL/TLS operations.

### Method Summary

All Methods Static Methods Concrete Methods
`static SSLContext` `createSecureSSLContext()` Creates a secure SSLContext using the highest available TLS version (1.3 or 1.2).

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Method Detail

#### createSecureSSLContext

    public static SSLContext createSecureSSLContext()
                                             throws NoSuchAlgorithmException

Creates a secure SSLContext using the highest available TLS version (1.3 or 1.2). This prevents downgrade attacks by explicitly avoiding weak protocols.

Returns:
  SSLContext configured with TLS 1.3 (preferred) or TLS 1.2 (fallback)
Throws:
  `NoSuchAlgorithmException` - if neither TLS 1.3 nor TLS 1.2 is available