Class TLSProfileSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.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 Summary
Constructors Constructor Description TLSProfileSpec()No args constructor for use in serializationTLSProfileSpec(List<String> ciphers, String minTLSVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TLSProfileSpecBuilderedit()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.TLSProfileSpecBuildertoBuilder()
-
-
-
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 TLSProfileSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TLSProfileSpecBuilder>
-
toBuilder
public TLSProfileSpecBuilder toBuilder()
-
-