Interface ServerTlsPolicy.MTLSPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerTlsPolicy.MTLSPolicy,ServerTlsPolicy.MTLSPolicy.Builder
- Enclosing class:
- ServerTlsPolicy
public static interface ServerTlsPolicy.MTLSPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetClientValidationCa(int index) Required if the policy is to be used with Traffic Director.intRequired if the policy is to be used with Traffic Director.Required if the policy is to be used with Traffic Director.getClientValidationCaOrBuilder(int index) Required if the policy is to be used with Traffic Director.List<? extends ValidationCAOrBuilder>Required if the policy is to be used with Traffic Director.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.intWhen the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled.Reference to the TrustConfig from certificatemanager.googleapis.com namespace.com.google.protobuf.ByteStringReference to the TrustConfig from certificatemanager.googleapis.com namespace.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getClientValidationModeValue
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:
- The enum numeric value on the wire for clientValidationMode.
-
getClientValidationMode
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:
- The clientValidationMode.
-
getClientValidationCaList
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; -
getClientValidationCa
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; -
getClientValidationCaCount
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; -
getClientValidationCaOrBuilderList
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; -
getClientValidationCaOrBuilder
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; -
getClientValidationTrustConfig
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:
- The clientValidationTrustConfig.
-
getClientValidationTrustConfigBytes
com.google.protobuf.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:
- The bytes for clientValidationTrustConfig.
-