Class UpstreamTlsContext.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpstreamTlsContext.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<UpstreamTlsContext.Builder>
implements UpstreamTlsContextOrBuilder
[#next-free-field: 6]Protobuf type
envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate CommonTlsContextprivate com.google.protobuf.SingleFieldBuilder<CommonTlsContext, CommonTlsContext.Builder, CommonTlsContextOrBuilder> private com.google.protobuf.BoolValueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> private com.google.protobuf.UInt32Valueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(UpstreamTlsContext result) clear()If true, server-initiated TLS renegotiation will be allowed.Common TLS context settings.This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption.clearSni()SNI string to use when creating TLS backend connections.booleanIf true, server-initiated TLS renegotiation will be allowed.Common TLS context settings.Common TLS context settings.Common TLS context settings.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.BoolValueThis field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.com.google.protobuf.BoolValue.BuilderThis field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.com.google.protobuf.BoolValueOrBuilderThis field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.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 store for the purpose of 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 store for the purpose of 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 store for the purpose of 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.booleanThis field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.booleanMaximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption.private com.google.protobuf.SingleFieldBuilder<CommonTlsContext, CommonTlsContext.Builder, CommonTlsContextOrBuilder> Common TLS context settings.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption.final booleanprivate voidCommon TLS context settings.mergeEnforceRsaKeyUsage(com.google.protobuf.BoolValue value) This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.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 store for the purpose of session resumption.setAllowRenegotiation(boolean value) If true, server-initiated TLS renegotiation will be allowed.Common TLS context settings.setCommonTlsContext(CommonTlsContext.Builder builderForValue) Common TLS context settings.setEnforceRsaKeyUsage(com.google.protobuf.BoolValue value) This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.setEnforceRsaKeyUsage(com.google.protobuf.BoolValue.Builder builderForValue) This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage.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 store for the purpose of 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 store for the purpose of session resumption.SNI string to use when creating TLS backend connections.setSniBytes(com.google.protobuf.ByteString value) SNI string to use when creating TLS backend connections.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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
-
Field Details
-
bitField0_
private int bitField0_ -
commonTlsContext_
-
commonTlsContextBuilder_
private com.google.protobuf.SingleFieldBuilder<CommonTlsContext,CommonTlsContext.Builder, commonTlsContextBuilder_CommonTlsContextOrBuilder> -
sni_
-
allowRenegotiation_
private boolean allowRenegotiation_ -
maxSessionKeys_
private com.google.protobuf.UInt32Value maxSessionKeys_ -
maxSessionKeysBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, maxSessionKeysBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
enforceRsaKeyUsage_
private com.google.protobuf.BoolValue enforceRsaKeyUsage_ -
enforceRsaKeyUsageBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, enforceRsaKeyUsageBuilder_com.google.protobuf.BoolValueOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpstreamTlsContext.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.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
-
buildPartial0
-
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.GeneratedMessage.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. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.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. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.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. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.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. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.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. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.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. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.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. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.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. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1;- Specified by:
getCommonTlsContextOrBuilderin interfaceUpstreamTlsContextOrBuilder
-
internalGetCommonTlsContextFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CommonTlsContext,CommonTlsContext.Builder, internalGetCommonTlsContextFieldBuilder()CommonTlsContextOrBuilder> Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_v3_api_field_extensions.transport_sockets.tls.v3.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1; -
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.
-
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 store for the purpose of 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 store for the purpose of 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 store for the purpose of 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 store for the purpose of 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 store for the purpose of 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 store for the purpose of 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 store for the purpose of 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 store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;- Specified by:
getMaxSessionKeysOrBuilderin interfaceUpstreamTlsContextOrBuilder
-
internalGetMaxSessionKeysFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxSessionKeysFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4; -
hasEnforceRsaKeyUsage
public boolean hasEnforceRsaKeyUsage()This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.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()This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5;- Specified by:
getEnforceRsaKeyUsagein interfaceUpstreamTlsContextOrBuilder- Returns:
- The enforceRsaKeyUsage.
-
setEnforceRsaKeyUsage
This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
setEnforceRsaKeyUsage
public UpstreamTlsContext.Builder setEnforceRsaKeyUsage(com.google.protobuf.BoolValue.Builder builderForValue) This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
mergeEnforceRsaKeyUsage
This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
clearEnforceRsaKeyUsage
This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
getEnforceRsaKeyUsageBuilder
public com.google.protobuf.BoolValue.Builder getEnforceRsaKeyUsageBuilder()This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5; -
getEnforceRsaKeyUsageOrBuilder
public com.google.protobuf.BoolValueOrBuilder getEnforceRsaKeyUsageOrBuilder()This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5;- Specified by:
getEnforceRsaKeyUsageOrBuilderin interfaceUpstreamTlsContextOrBuilder
-
internalGetEnforceRsaKeyUsageFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, internalGetEnforceRsaKeyUsageFieldBuilder()com.google.protobuf.BoolValueOrBuilder> This field is used to control the enforcement, whereby the handshake will fail if the keyUsage extension is present and incompatible with the TLS usage. Currently, the default value is false (i.e., enforcement off) but it is expected to be changed to true by default in a future release. ``ssl.was_key_usage_invalid`` in :ref:`listener metrics <config_listener_stats>` will be set for certificate configurations that would fail if this option were set to true.
.google.protobuf.BoolValue enforce_rsa_key_usage = 5;
-