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 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

       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

      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;
    • 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

      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;
    • 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.