Class TLSProfileSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<TLSProfileSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class TLSProfileSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<TLSProfileSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    TLSProfileSpec is the desired behavior of a TLSSecurityProfile.
    See Also:
    Serialized Form
    • Constructor Detail

      • TLSProfileSpec

        public TLSProfileSpec()
        No args constructor for use in serialization
      • TLSProfileSpec

        public TLSProfileSpec​(List<String> ciphers,
                              String minTLSVersion)
    • Method Detail

      • getCiphers

        public List<String> getCiphers()
        ciphers is used to specify the cipher algorithms that are negotiated during the TLS handshake. Operators may remove entries their operands do not support. For example, to use DES-CBC3-SHA (yaml):


        ciphers:

        - DES-CBC3-SHA

      • setCiphers

        public void setCiphers​(List<String> ciphers)
        ciphers is used to specify the cipher algorithms that are negotiated during the TLS handshake. Operators may remove entries their operands do not support. For example, to use DES-CBC3-SHA (yaml):


        ciphers:

        - DES-CBC3-SHA

      • getMinTLSVersion

        public String getMinTLSVersion()
        minTLSVersion is used to specify the minimal version of the TLS protocol that is negotiated during the TLS handshake. For example, to use TLS versions 1.1, 1.2 and 1.3 (yaml):


        minTLSVersion: VersionTLS11


        NOTE: currently the highest minTLSVersion allowed is VersionTLS12

      • setMinTLSVersion

        public void setMinTLSVersion​(String minTLSVersion)
        minTLSVersion is used to specify the minimal version of the TLS protocol that is negotiated during the TLS handshake. For example, to use TLS versions 1.1, 1.2 and 1.3 (yaml):


        minTLSVersion: VersionTLS11


        NOTE: currently the highest minTLSVersion allowed is VersionTLS12

      • getAdditionalProperties

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

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

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