Class CustomTLSProfile
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.CustomTLSProfile
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CustomTLSProfileBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CustomTLSProfile extends Object implements io.fabric8.kubernetes.api.builder.Editable<CustomTLSProfileBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
CustomTLSProfile is a user-defined TLS security profile. Be extremely careful using a custom TLS profile as invalid configurations can be catastrophic.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomTLSProfile()No args constructor for use in serializationCustomTLSProfile(List<String> ciphers, String minTLSVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomTLSProfileBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getCiphers()ciphers is used to specify the cipher algorithms that are negotiated during the TLS handshake.StringgetMinTLSVersion()minTLSVersion is used to specify the minimal version of the TLS protocol that is negotiated during the TLS handshake.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCiphers(List<String> ciphers)ciphers is used to specify the cipher algorithms that are negotiated during the TLS handshake.voidsetMinTLSVersion(String minTLSVersion)minTLSVersion is used to specify the minimal version of the TLS protocol that is negotiated during the TLS handshake.CustomTLSProfileBuildertoBuilder()
-
-
-
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
-
edit
public CustomTLSProfileBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CustomTLSProfileBuilder>
-
toBuilder
public CustomTLSProfileBuilder toBuilder()
-
-