Class WebTLSConfig

    • Method Detail

      • getCert

        public SecretOrConfigMap getCert()
        WebTLSConfig defines the TLS parameters for HTTPS.
      • setCert

        public void setCert​(SecretOrConfigMap cert)
        WebTLSConfig defines the TLS parameters for HTTPS.
      • getCertFile

        public String getCertFile()
        certFile defines the path to the TLS certificate file in the container for the web server.


        Either `keySecret` or `keyFile` must be defined.


        It is mutually exclusive with `cert`.

      • setCertFile

        public void setCertFile​(String certFile)
        certFile defines the path to the TLS certificate file in the container for the web server.


        Either `keySecret` or `keyFile` must be defined.


        It is mutually exclusive with `cert`.

      • getCipherSuites

        public List<String> getCipherSuites()
        cipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.


        If not defined, the Go default cipher suites are used. Available cipher suites are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#pkg-constants

      • setCipherSuites

        public void setCipherSuites​(List<String> cipherSuites)
        cipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.


        If not defined, the Go default cipher suites are used. Available cipher suites are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#pkg-constants

      • getClientAuthType

        public String getClientAuthType()
        clientAuthType defines the server policy for client TLS authentication.


        For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType

      • setClientAuthType

        public void setClientAuthType​(String clientAuthType)
        clientAuthType defines the server policy for client TLS authentication.


        For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType

      • getClientCAFile

        public String getClientCAFile()
        clientCAFile defines the path to the CA certificate file for client certificate authentication to the server.


        It is mutually exclusive with `client_ca`.

      • setClientCAFile

        public void setClientCAFile​(String clientCAFile)
        clientCAFile defines the path to the CA certificate file for client certificate authentication to the server.


        It is mutually exclusive with `client_ca`.

      • getClientCa

        public SecretOrConfigMap getClientCa()
        WebTLSConfig defines the TLS parameters for HTTPS.
      • setClientCa

        public void setClientCa​(SecretOrConfigMap clientCa)
        WebTLSConfig defines the TLS parameters for HTTPS.
      • getCurvePreferences

        public List<String> getCurvePreferences()
        curvePreferences defines elliptic curves that will be used in an ECDHE handshake, in preference order.


        Available curves are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#CurveID

      • setCurvePreferences

        public void setCurvePreferences​(List<String> curvePreferences)
        curvePreferences defines elliptic curves that will be used in an ECDHE handshake, in preference order.


        Available curves are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#CurveID

      • getKeyFile

        public String getKeyFile()
        keyFile defines the path to the TLS private key file in the container for the web server.


        If defined, either `cert` or `certFile` must be defined.


        It is mutually exclusive with `keySecret`.

      • setKeyFile

        public void setKeyFile​(String keyFile)
        keyFile defines the path to the TLS private key file in the container for the web server.


        If defined, either `cert` or `certFile` must be defined.


        It is mutually exclusive with `keySecret`.

      • getKeySecret

        public SecretKeySelector getKeySecret()
        WebTLSConfig defines the TLS parameters for HTTPS.
      • setKeySecret

        public void setKeySecret​(SecretKeySelector keySecret)
        WebTLSConfig defines the TLS parameters for HTTPS.
      • getMaxVersion

        public String getMaxVersion()
        maxVersion defines the Maximum TLS version that is acceptable.
      • setMaxVersion

        public void setMaxVersion​(String maxVersion)
        maxVersion defines the Maximum TLS version that is acceptable.
      • getMinVersion

        public String getMinVersion()
        minVersion defines the minimum TLS version that is acceptable.
      • setMinVersion

        public void setMinVersion​(String minVersion)
        minVersion defines the minimum TLS version that is acceptable.
      • getPreferServerCipherSuites

        public Boolean getPreferServerCipherSuites()
        preferServerCipherSuites defines whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite.


        If true then the server's preference, as expressed in the order of elements in cipherSuites, is used.

      • setPreferServerCipherSuites

        public void setPreferServerCipherSuites​(Boolean preferServerCipherSuites)
        preferServerCipherSuites defines whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite.


        If true then the server's preference, as expressed in the order of elements in cipherSuites, is used.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)