@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:19.821Z") @Stability(value=Experimental) public enum SslPolicy extends Enum<SslPolicy>
We recommend the Recommended policy for general use. You can use the ForwardSecrecy policy if you require Forward Secrecy (FS).
You can use one of the TLS policies to meet compliance and security standards that require disabling certain TLS protocol versions, or to support legacy clients that require deprecated ciphers.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html| Enum Constant and Description |
|---|
FORWARD_SECRECY
(experimental) Forward secrecy ciphers only.
|
FORWARD_SECRECY_TLS11
(experimental) Forward secrecy ciphers only with TLS1.1 and higher.
|
FORWARD_SECRECY_TLS12
(experimental) Forward secrecy ciphers and TLS1.2 only.
|
FORWARD_SECRECY_TLS12_RES
(experimental) Strong forward secrecy ciphers and TLS1.2 only.
|
FORWARD_SECRECY_TLS12_RES_GCM
(experimental) Strong foward secrecy ciphers and TLV1.2 only (2020 edition).
|
LEGACY
(experimental) Support for DES-CBC3-SHA.
|
RECOMMENDED
(experimental) The recommended security policy.
|
TLS11
(experimental) TLS1.1 and higher with all ciphers.
|
TLS12
(experimental) TLS1.2 only and no SHA ciphers.
|
TLS12_EXT
(experimental) TLS1.2 only with all ciphers.
|
| Modifier and Type | Method and Description |
|---|---|
static SslPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final SslPolicy RECOMMENDED
@Stability(value=Experimental) public static final SslPolicy FORWARD_SECRECY_TLS12_RES_GCM
@Stability(value=Experimental) public static final SslPolicy FORWARD_SECRECY_TLS12_RES
@Stability(value=Experimental) public static final SslPolicy FORWARD_SECRECY_TLS12
@Stability(value=Experimental) public static final SslPolicy FORWARD_SECRECY_TLS11
@Stability(value=Experimental) public static final SslPolicy FORWARD_SECRECY
@Stability(value=Experimental) public static final SslPolicy TLS12
@Stability(value=Experimental) public static final SslPolicy TLS12_EXT
@Stability(value=Experimental) public static final SslPolicy TLS11
@Stability(value=Experimental) public static final SslPolicy LEGACY
Do not use this security policy unless you must support a legacy client that requires the DES-CBC3-SHA cipher, which is a weak cipher.
public static SslPolicy[] values()
for (SslPolicy c : SslPolicy.values()) System.out.println(c);
public static SslPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.