All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.ClientTlsSettings.html Maven / Gradle / Ivy







ClientTlsSettings (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class ClientTlsSettings

    • Constructor Detail

      • ClientTlsSettings

        public ClientTlsSettings()
    • Method Detail

      • getClientTlsContext

        public TlsContext getClientTlsContext()
        Configures the mechanism to obtain client-side security certificates and identity information. This field is only applicable when mode is set to MUTUAL.
        Returns:
        value or null for none
      • setClientTlsContext

        public ClientTlsSettings setClientTlsContext(TlsContext clientTlsContext)
        Configures the mechanism to obtain client-side security certificates and identity information. This field is only applicable when mode is set to MUTUAL.
        Parameters:
        clientTlsContext - clientTlsContext or null for none
      • getMode

        public String getMode()
        Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced. This can be set to one of the following values: DISABLE: Do not setup a TLS connection to the backends. SIMPLE: Originate a TLS connection to the backends. MUTUAL: Secure connections to the backends using mutual TLS by presenting client certificates for authentication.
        Returns:
        value or null for none
      • setMode

        public ClientTlsSettings setMode(String mode)
        Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced. This can be set to one of the following values: DISABLE: Do not setup a TLS connection to the backends. SIMPLE: Originate a TLS connection to the backends. MUTUAL: Secure connections to the backends using mutual TLS by presenting client certificates for authentication.
        Parameters:
        mode - mode or null for none
      • getSni

        public String getSni()
        SNI string to present to the server during TLS handshake. This field is applicable only when mode is SIMPLE or MUTUAL.
        Returns:
        value or null for none
      • setSni

        public ClientTlsSettings setSni(String sni)
        SNI string to present to the server during TLS handshake. This field is applicable only when mode is SIMPLE or MUTUAL.
        Parameters:
        sni - sni or null for none
      • getSubjectAltNames

        public List<String> getSubjectAltNames()
        A list of alternate names to verify the subject identity in the certificate.If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. This field is applicable only when mode is SIMPLE or MUTUAL.
        Returns:
        value or null for none
      • setSubjectAltNames

        public ClientTlsSettings setSubjectAltNames(List<String> subjectAltNames)
        A list of alternate names to verify the subject identity in the certificate.If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. This field is applicable only when mode is SIMPLE or MUTUAL.
        Parameters:
        subjectAltNames - subjectAltNames or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy