public static interface ServerTlsPolicy.MTLSPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getClientValidationCa(int index)
public abstract ValidationCA getClientValidationCa(int index)Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty.
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValidationCA |
|
getClientValidationCaCount()
public abstract int getClientValidationCaCount()Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty.
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getClientValidationCaList()
public abstract List<ValidationCA> getClientValidationCaList()Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty.
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
| Returns | |
|---|---|
| Type | Description |
List<ValidationCA> |
|
getClientValidationCaOrBuilder(int index)
public abstract ValidationCAOrBuilder getClientValidationCaOrBuilder(int index)Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty.
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValidationCAOrBuilder |
|
getClientValidationCaOrBuilderList()
public abstract List<? extends ValidationCAOrBuilder> getClientValidationCaOrBuilderList()Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty.
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.ValidationCAOrBuilder> |
|
getClientValidationMode()
public abstract ServerTlsPolicy.MTLSPolicy.ClientValidationMode getClientValidationMode() When the client presents an invalid certificate or no certificate to the
load balancer, the client_validation_mode specifies how the client
connection is handled.
Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy.ClientValidationMode client_validation_mode = 2;
| Returns | |
|---|---|
| Type | Description |
ServerTlsPolicy.MTLSPolicy.ClientValidationMode |
The clientValidationMode. |
getClientValidationModeValue()
public abstract int getClientValidationModeValue() When the client presents an invalid certificate or no certificate to the
load balancer, the client_validation_mode specifies how the client
connection is handled.
Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy.ClientValidationMode client_validation_mode = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for clientValidationMode. |
getClientValidationTrustConfig()
public abstract String getClientValidationTrustConfig()Reference to the TrustConfig from certificatemanager.googleapis.com namespace.
If specified, the chain validation will be performed against certificates configured in the given TrustConfig.
Allowed only if the policy is to be used with Application Load Balancers.
string client_validation_trust_config = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The clientValidationTrustConfig. |
getClientValidationTrustConfigBytes()
public abstract ByteString getClientValidationTrustConfigBytes()Reference to the TrustConfig from certificatemanager.googleapis.com namespace.
If specified, the chain validation will be performed against certificates configured in the given TrustConfig.
Allowed only if the policy is to be used with Application Load Balancers.
string client_validation_trust_config = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientValidationTrustConfig. |