Class UpstreamTlsContext.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
allowRenegotiation_
private int
bitField0_
private CommonTlsContext
commonTlsContext_
private com.google.protobuf.SingleFieldBuilder<CommonTlsContext,CommonTlsContext.Builder,CommonTlsContextOrBuilder>
commonTlsContextBuilder_
private com.google.protobuf.BoolValue
enforceRsaKeyUsage_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
enforceRsaKeyUsageBuilder_
private com.google.protobuf.UInt32Value
maxSessionKeys_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
maxSessionKeysBuilder_
private java.lang.Object
sni_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpstreamTlsContext
build()
UpstreamTlsContext
buildPartial()
private void
buildPartial0(UpstreamTlsContext result)
UpstreamTlsContext.Builder
clear()
UpstreamTlsContext.Builder
clearAllowRenegotiation()
If true, server-initiated TLS renegotiation will be allowed.UpstreamTlsContext.Builder
clearCommonTlsContext()
Common TLS context settings.UpstreamTlsContext.Builder
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.UpstreamTlsContext.Builder
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.UpstreamTlsContext.Builder
clearSni()
SNI string to use when creating TLS backend connections.boolean
getAllowRenegotiation()
If true, server-initiated TLS renegotiation will be allowed.CommonTlsContext
getCommonTlsContext()
Common TLS context settings.CommonTlsContext.Builder
getCommonTlsContextBuilder()
Common TLS context settings.private com.google.protobuf.SingleFieldBuilder<CommonTlsContext,CommonTlsContext.Builder,CommonTlsContextOrBuilder>
getCommonTlsContextFieldBuilder()
Common TLS context settings.CommonTlsContextOrBuilder
getCommonTlsContextOrBuilder()
Common TLS context settings.UpstreamTlsContext
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
getEnforceRsaKeyUsageFieldBuilder()
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.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.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.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.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getMaxSessionKeysFieldBuilder()
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.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.java.lang.String
getSni()
SNI string to use when creating TLS backend connections.com.google.protobuf.ByteString
getSniBytes()
SNI string to use when creating TLS backend connections.boolean
hasCommonTlsContext()
Common TLS context settings.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.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
UpstreamTlsContext.Builder
mergeCommonTlsContext(CommonTlsContext value)
Common TLS context settings.UpstreamTlsContext.Builder
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.UpstreamTlsContext.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UpstreamTlsContext.Builder
mergeFrom(com.google.protobuf.Message other)
UpstreamTlsContext.Builder
mergeFrom(UpstreamTlsContext other)
UpstreamTlsContext.Builder
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.UpstreamTlsContext.Builder
setAllowRenegotiation(boolean value)
If true, server-initiated TLS renegotiation will be allowed.UpstreamTlsContext.Builder
setCommonTlsContext(CommonTlsContext value)
Common TLS context settings.UpstreamTlsContext.Builder
setCommonTlsContext(CommonTlsContext.Builder builderForValue)
Common TLS context settings.UpstreamTlsContext.Builder
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.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.UpstreamTlsContext.Builder
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.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.UpstreamTlsContext.Builder
setSni(java.lang.String value)
SNI string to use when creating TLS backend connections.UpstreamTlsContext.Builder
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
commonTlsContext_
private CommonTlsContext commonTlsContext_
-
commonTlsContextBuilder_
private com.google.protobuf.SingleFieldBuilder<CommonTlsContext,CommonTlsContext.Builder,CommonTlsContextOrBuilder> commonTlsContextBuilder_
-
sni_
private java.lang.Object 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,com.google.protobuf.UInt32ValueOrBuilder> maxSessionKeysBuilder_
-
enforceRsaKeyUsage_
private com.google.protobuf.BoolValue enforceRsaKeyUsage_
-
enforceRsaKeyUsageBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> enforceRsaKeyUsageBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<UpstreamTlsContext.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public UpstreamTlsContext.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<UpstreamTlsContext.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<UpstreamTlsContext.Builder>
-
getDefaultInstanceForType
public UpstreamTlsContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpstreamTlsContext build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpstreamTlsContext buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(UpstreamTlsContext result)
-
mergeFrom
public UpstreamTlsContext.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpstreamTlsContext.Builder>
-
mergeFrom
public UpstreamTlsContext.Builder mergeFrom(UpstreamTlsContext other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<UpstreamTlsContext.Builder>
-
mergeFrom
public UpstreamTlsContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpstreamTlsContext.Builder>
- Throws:
java.io.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:
hasCommonTlsContext
in interfaceUpstreamTlsContextOrBuilder
- Returns:
- Whether the commonTlsContext field is set.
-
getCommonTlsContext
public CommonTlsContext 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:
getCommonTlsContext
in interfaceUpstreamTlsContextOrBuilder
- Returns:
- The commonTlsContext.
-
setCommonTlsContext
public UpstreamTlsContext.Builder setCommonTlsContext(CommonTlsContext value)
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
public UpstreamTlsContext.Builder setCommonTlsContext(CommonTlsContext.Builder builderForValue)
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
public UpstreamTlsContext.Builder mergeCommonTlsContext(CommonTlsContext value)
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
public UpstreamTlsContext.Builder 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
public CommonTlsContext.Builder 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
public CommonTlsContextOrBuilder 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:
getCommonTlsContextOrBuilder
in interfaceUpstreamTlsContextOrBuilder
-
getCommonTlsContextFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CommonTlsContext,CommonTlsContext.Builder,CommonTlsContextOrBuilder> getCommonTlsContextFieldBuilder()
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
public java.lang.String getSni()
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }
- Specified by:
getSni
in 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:
getSniBytes
in interfaceUpstreamTlsContextOrBuilder
- Returns:
- The bytes for sni.
-
setSni
public UpstreamTlsContext.Builder setSni(java.lang.String value)
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
public UpstreamTlsContext.Builder clearSni()
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setSniBytes
public UpstreamTlsContext.Builder setSniBytes(com.google.protobuf.ByteString value)
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:
getAllowRenegotiation
in interfaceUpstreamTlsContextOrBuilder
- Returns:
- The allowRenegotiation.
-
setAllowRenegotiation
public UpstreamTlsContext.Builder 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.
bool allow_renegotiation = 3;
- Parameters:
value
- The allowRenegotiation to set.- Returns:
- This builder for chaining.
-
clearAllowRenegotiation
public UpstreamTlsContext.Builder 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:
hasMaxSessionKeys
in 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:
getMaxSessionKeys
in interfaceUpstreamTlsContextOrBuilder
- Returns:
- The maxSessionKeys.
-
setMaxSessionKeys
public UpstreamTlsContext.Builder 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. 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
public UpstreamTlsContext.Builder 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. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;
-
clearMaxSessionKeys
public UpstreamTlsContext.Builder 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:
getMaxSessionKeysOrBuilder
in interfaceUpstreamTlsContextOrBuilder
-
getMaxSessionKeysFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getMaxSessionKeysFieldBuilder()
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:
hasEnforceRsaKeyUsage
in 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:
getEnforceRsaKeyUsage
in interfaceUpstreamTlsContextOrBuilder
- Returns:
- The enforceRsaKeyUsage.
-
setEnforceRsaKeyUsage
public UpstreamTlsContext.Builder 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. 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
public UpstreamTlsContext.Builder 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. 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
public UpstreamTlsContext.Builder 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:
getEnforceRsaKeyUsageOrBuilder
in interfaceUpstreamTlsContextOrBuilder
-
getEnforceRsaKeyUsageFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getEnforceRsaKeyUsageFieldBuilder()
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;
-
-