Class UpstreamTlsContext.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpstreamTlsContextOrBuilder,Cloneable
- Enclosing class:
- UpstreamTlsContext
public static final class UpstreamTlsContext.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
implements UpstreamTlsContextOrBuilder
[#next-free-field: 8]Protobuf type
envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.If true, replaces the SNI for the connection with the hostname of the upstream host, if the hostname is known due to either a DNS cluster type or the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` is set on the host.If true, replaces any Subject Alternative Name (SAN) validations with a validation for a DNS SAN matching the SNI value sent.Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.Controls enforcement of the ``keyUsage`` extension in peer certificates.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clearSni()SNI string to use when creating TLS backend connections.clone()booleanIf true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.booleanIf true, replaces the SNI for the connection with the hostname of the upstream host, if the hostname is known due to either a DNS cluster type or the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` is set on the host.booleanIf true, replaces any Subject Alternative Name (SAN) validations with a validation for a DNS SAN matching the SNI value sent.Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.BoolValueControls enforcement of the ``keyUsage`` extension in peer certificates.com.google.protobuf.BoolValue.BuilderControls enforcement of the ``keyUsage`` extension in peer certificates.com.google.protobuf.BoolValueOrBuilderControls enforcement of the ``keyUsage`` extension in peer certificates.com.google.protobuf.UInt32ValueMaximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption.com.google.protobuf.UInt32Value.BuilderMaximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption.com.google.protobuf.UInt32ValueOrBuilderMaximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption.getSni()SNI string to use when creating TLS backend connections.com.google.protobuf.ByteStringSNI string to use when creating TLS backend connections.booleanCommon TLS context settings. .. attention:: Server certificate verification is not enabled by default.booleanControls enforcement of the ``keyUsage`` extension in peer certificates.booleanMaximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanCommon TLS context settings. .. attention:: Server certificate verification is not enabled by default.mergeEnforceRsaKeyUsage(com.google.protobuf.BoolValue value) Controls enforcement of the ``keyUsage`` extension in peer certificates.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(UpstreamTlsContext other) mergeMaxSessionKeys(com.google.protobuf.UInt32Value value) Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAllowRenegotiation(boolean value) If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.setAutoHostSni(boolean value) If true, replaces the SNI for the connection with the hostname of the upstream host, if the hostname is known due to either a DNS cluster type or the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` is set on the host.setAutoSniSanValidation(boolean value) If true, replaces any Subject Alternative Name (SAN) validations with a validation for a DNS SAN matching the SNI value sent.Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.setCommonTlsContext(CommonTlsContext.Builder builderForValue) Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.setEnforceRsaKeyUsage(com.google.protobuf.BoolValue value) Controls enforcement of the ``keyUsage`` extension in peer certificates.setEnforceRsaKeyUsage(com.google.protobuf.BoolValue.Builder builderForValue) Controls enforcement of the ``keyUsage`` extension in peer certificates.setMaxSessionKeys(com.google.protobuf.UInt32Value value) Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption.setMaxSessionKeys(com.google.protobuf.UInt32Value.Builder builderForValue) Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) SNI string to use when creating TLS backend connections.setSniBytes(com.google.protobuf.ByteString value) SNI string to use when creating TLS backend connections.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
setField
public UpstreamTlsContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
setRepeatedField
public UpstreamTlsContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
addRepeatedField
public UpstreamTlsContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpstreamTlsContext.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
mergeFrom
public UpstreamTlsContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpstreamTlsContext.Builder>- Throws:
IOException
-
hasCommonTlsContext
public boolean hasCommonTlsContext()Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. To enable verification, configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>`.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1;- Specified by:
hasCommonTlsContextin interfaceUpstreamTlsContextOrBuilder- Returns:
- Whether the commonTlsContext field is set.
-
getCommonTlsContext
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. To enable verification, configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>`.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1;- Specified by:
getCommonTlsContextin interfaceUpstreamTlsContextOrBuilder- Returns:
- The commonTlsContext.
-
setCommonTlsContext
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. To enable verification, configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>`.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1; -
setCommonTlsContext
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. To enable verification, configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>`.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1; -
mergeCommonTlsContext
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. To enable verification, configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>`.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1; -
clearCommonTlsContext
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. To enable verification, configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>`.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1; -
getCommonTlsContextBuilder
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. To enable verification, configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>`.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1; -
getCommonTlsContextOrBuilder
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. To enable verification, configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>`.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1;- Specified by:
getCommonTlsContextOrBuilderin interfaceUpstreamTlsContextOrBuilder
-
getSni
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }- Specified by:
getSniin interfaceUpstreamTlsContextOrBuilder- Returns:
- The sni.
-
getSniBytes
public com.google.protobuf.ByteString getSniBytes()SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }- Specified by:
getSniBytesin interfaceUpstreamTlsContextOrBuilder- Returns:
- The bytes for sni.
-
setSni
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }- Parameters:
value- The sni to set.- Returns:
- This builder for chaining.
-
clearSni
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setSniBytes
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes for sni to set.- Returns:
- This builder for chaining.
-
getAutoHostSni
public boolean getAutoHostSni()If true, replaces the SNI for the connection with the hostname of the upstream host, if the hostname is known due to either a DNS cluster type or the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` is set on the host. See :ref:`SNI configuration <start_quick_start_securing_sni_client>` for details on how this interacts with other validation options.
bool auto_host_sni = 6;- Specified by:
getAutoHostSniin interfaceUpstreamTlsContextOrBuilder- Returns:
- The autoHostSni.
-
setAutoHostSni
If true, replaces the SNI for the connection with the hostname of the upstream host, if the hostname is known due to either a DNS cluster type or the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` is set on the host. See :ref:`SNI configuration <start_quick_start_securing_sni_client>` for details on how this interacts with other validation options.
bool auto_host_sni = 6;- Parameters:
value- The autoHostSni to set.- Returns:
- This builder for chaining.
-
clearAutoHostSni
If true, replaces the SNI for the connection with the hostname of the upstream host, if the hostname is known due to either a DNS cluster type or the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.hostname>` is set on the host. See :ref:`SNI configuration <start_quick_start_securing_sni_client>` for details on how this interacts with other validation options.
bool auto_host_sni = 6;- Returns:
- This builder for chaining.
-
getAutoSniSanValidation
public boolean getAutoSniSanValidation()If true, replaces any Subject Alternative Name (SAN) validations with a validation for a DNS SAN matching the SNI value sent. The validation uses the actual requested SNI, regardless of how the SNI is configured. For common cases where an SNI value is present and the server certificate should include a corresponding SAN, this option ensures the SAN is properly validated. See the :ref:`validation configuration <start_quick_start_securing_validation>` for how this interacts with other validation options.
bool auto_sni_san_validation = 7;- Specified by:
getAutoSniSanValidationin interfaceUpstreamTlsContextOrBuilder- Returns:
- The autoSniSanValidation.
-
setAutoSniSanValidation
If true, replaces any Subject Alternative Name (SAN) validations with a validation for a DNS SAN matching the SNI value sent. The validation uses the actual requested SNI, regardless of how the SNI is configured. For common cases where an SNI value is present and the server certificate should include a corresponding SAN, this option ensures the SAN is properly validated. See the :ref:`validation configuration <start_quick_start_securing_validation>` for how this interacts with other validation options.
bool auto_sni_san_validation = 7;- Parameters:
value- The autoSniSanValidation to set.- Returns:
- This builder for chaining.
-
clearAutoSniSanValidation
If true, replaces any Subject Alternative Name (SAN) validations with a validation for a DNS SAN matching the SNI value sent. The validation uses the actual requested SNI, regardless of how the SNI is configured. For common cases where an SNI value is present and the server certificate should include a corresponding SAN, this option ensures the SAN is properly validated. See the :ref:`validation configuration <start_quick_start_securing_validation>` for how this interacts with other validation options.
bool auto_sni_san_validation = 7;- Returns:
- This builder for chaining.
-
getAllowRenegotiation
public boolean getAllowRenegotiation()If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
bool allow_renegotiation = 3;- Specified by:
getAllowRenegotiationin interfaceUpstreamTlsContextOrBuilder- Returns:
- The allowRenegotiation.
-
setAllowRenegotiation
If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
bool allow_renegotiation = 3;- Parameters:
value- The allowRenegotiation to set.- Returns:
- This builder for chaining.
-
clearAllowRenegotiation
If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
bool allow_renegotiation = 3;- Returns:
- This builder for chaining.
-
hasMaxSessionKeys
public boolean hasMaxSessionKeys()Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;- Specified by:
hasMaxSessionKeysin interfaceUpstreamTlsContextOrBuilder- Returns:
- Whether the maxSessionKeys field is set.
-
getMaxSessionKeys
public com.google.protobuf.UInt32Value getMaxSessionKeys()Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;- Specified by:
getMaxSessionKeysin interfaceUpstreamTlsContextOrBuilder- Returns:
- The maxSessionKeys.
-
setMaxSessionKeys
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4; -
setMaxSessionKeys
public UpstreamTlsContext.Builder setMaxSessionKeys(com.google.protobuf.UInt32Value.Builder builderForValue) Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4; -
mergeMaxSessionKeys
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4; -
clearMaxSessionKeys
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4; -
getMaxSessionKeysBuilder
public com.google.protobuf.UInt32Value.Builder getMaxSessionKeysBuilder()Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4; -
getMaxSessionKeysOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxSessionKeysOrBuilder()Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to be stored for session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;- Specified by:
getMaxSessionKeysOrBuilderin interfaceUpstreamTlsContextOrBuilder
-
hasEnforceRsaKeyUsage
public boolean hasEnforceRsaKeyUsage()Controls enforcement of the ``keyUsage`` extension in peer certificates. If set to ``true``, the handshake will fail if the ``keyUsage`` is incompatible with TLS usage. .. note:: The default value is ``false`` (i.e., enforcement off). It is expected to change to ``true`` in a future release. The ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` metric will be incremented for configurations that would fail if this option were enabled.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5;- Specified by:
hasEnforceRsaKeyUsagein interfaceUpstreamTlsContextOrBuilder- Returns:
- Whether the enforceRsaKeyUsage field is set.
-
getEnforceRsaKeyUsage
public com.google.protobuf.BoolValue getEnforceRsaKeyUsage()Controls enforcement of the ``keyUsage`` extension in peer certificates. If set to ``true``, the handshake will fail if the ``keyUsage`` is incompatible with TLS usage. .. note:: The default value is ``false`` (i.e., enforcement off). It is expected to change to ``true`` in a future release. The ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` metric will be incremented for configurations that would fail if this option were enabled.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5;- Specified by:
getEnforceRsaKeyUsagein interfaceUpstreamTlsContextOrBuilder- Returns:
- The enforceRsaKeyUsage.
-
setEnforceRsaKeyUsage
Controls enforcement of the ``keyUsage`` extension in peer certificates. If set to ``true``, the handshake will fail if the ``keyUsage`` is incompatible with TLS usage. .. note:: The default value is ``false`` (i.e., enforcement off). It is expected to change to ``true`` in a future release. The ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` metric will be incremented for configurations that would fail if this option were enabled.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
setEnforceRsaKeyUsage
public UpstreamTlsContext.Builder setEnforceRsaKeyUsage(com.google.protobuf.BoolValue.Builder builderForValue) Controls enforcement of the ``keyUsage`` extension in peer certificates. If set to ``true``, the handshake will fail if the ``keyUsage`` is incompatible with TLS usage. .. note:: The default value is ``false`` (i.e., enforcement off). It is expected to change to ``true`` in a future release. The ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` metric will be incremented for configurations that would fail if this option were enabled.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
mergeEnforceRsaKeyUsage
Controls enforcement of the ``keyUsage`` extension in peer certificates. If set to ``true``, the handshake will fail if the ``keyUsage`` is incompatible with TLS usage. .. note:: The default value is ``false`` (i.e., enforcement off). It is expected to change to ``true`` in a future release. The ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` metric will be incremented for configurations that would fail if this option were enabled.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
clearEnforceRsaKeyUsage
Controls enforcement of the ``keyUsage`` extension in peer certificates. If set to ``true``, the handshake will fail if the ``keyUsage`` is incompatible with TLS usage. .. note:: The default value is ``false`` (i.e., enforcement off). It is expected to change to ``true`` in a future release. The ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` metric will be incremented for configurations that would fail if this option were enabled.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
getEnforceRsaKeyUsageBuilder
public com.google.protobuf.BoolValue.Builder getEnforceRsaKeyUsageBuilder()Controls enforcement of the ``keyUsage`` extension in peer certificates. If set to ``true``, the handshake will fail if the ``keyUsage`` is incompatible with TLS usage. .. note:: The default value is ``false`` (i.e., enforcement off). It is expected to change to ``true`` in a future release. The ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` metric will be incremented for configurations that would fail if this option were enabled.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
getEnforceRsaKeyUsageOrBuilder
public com.google.protobuf.BoolValueOrBuilder getEnforceRsaKeyUsageOrBuilder()Controls enforcement of the ``keyUsage`` extension in peer certificates. If set to ``true``, the handshake will fail if the ``keyUsage`` is incompatible with TLS usage. .. note:: The default value is ``false`` (i.e., enforcement off). It is expected to change to ``true`` in a future release. The ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` metric will be incremented for configurations that would fail if this option were enabled.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5;- Specified by:
getEnforceRsaKeyUsageOrBuilderin interfaceUpstreamTlsContextOrBuilder
-
setUnknownFields
public final UpstreamTlsContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-
mergeUnknownFields
public final UpstreamTlsContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>
-