@Generated(value="OracleSDKGenerator", comments="API Version: 20170115") public final class SSLConfiguration extends Object
A listener’s SSL handling configuration.
To use SSL, a listener must be associated with a Certificate
.
Warning:* Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Note: Objects should always be created or deserialized using the SSLConfiguration.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the SSLConfiguration.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SSLConfiguration.Builder |
Constructor and Description |
---|
SSLConfiguration(String certificateName,
Boolean verifyPeerCertificate,
Integer verifyDepth)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SSLConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCertificateName()
A friendly name for the certificate bundle.
|
Integer |
getVerifyDepth()
The maximum depth for peer certificate chain verification.
|
Boolean |
getVerifyPeerCertificate()
Whether the load balancer listener should verify peer certificates.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"certificateName","verifyPeerCertificate","verifyDepth"}) @Deprecated public SSLConfiguration(String certificateName, Boolean verifyPeerCertificate, Integer verifyDepth)
public static SSLConfiguration.Builder builder()
Create a new builder.
public String getCertificateName()
A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information.
Example: example_certificate_bundle
public Boolean getVerifyPeerCertificate()
Whether the load balancer listener should verify peer certificates.
Example: true
public Integer getVerifyDepth()
The maximum depth for peer certificate chain verification.
Example: 3
Copyright © 2016–2019. All rights reserved.