Class DownstreamTlsContext
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DownstreamTlsContextOrBuilder,java.io.Serializable
public final class DownstreamTlsContext extends com.google.protobuf.GeneratedMessage implements DownstreamTlsContextOrBuilder
[#next-free-field: 11]
Protobuf typeenvoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDownstreamTlsContext.Builder[#next-free-field: 11]static classDownstreamTlsContext.OcspStaplePolicyProtobuf enumenvoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext.OcspStaplePolicystatic classDownstreamTlsContext.SessionTicketKeysTypeCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateDownstreamTlsContext()privateDownstreamTlsContext(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CommonTlsContextgetCommonTlsContext()Common TLS context settings.CommonTlsContextOrBuildergetCommonTlsContextOrBuilder()Common TLS context settings.static DownstreamTlsContextgetDefaultInstance()DownstreamTlsContextgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDisableStatefulSessionResumption()If set to true, the TLS server will not maintain a session cache of TLS sessions.booleangetDisableStatelessSessionResumption()Config for controlling stateless TLS session resumption: setting this to true will cause the TLS server to not issue TLS session tickets for the purposes of stateless TLS session resumption.com.google.protobuf.BoolValuegetFullScanCertsOnSniMismatch()Multiple certificates are allowed in Downstream transport socket to serve different SNI.com.google.protobuf.BoolValueOrBuildergetFullScanCertsOnSniMismatchOrBuilder()Multiple certificates are allowed in Downstream transport socket to serve different SNI.DownstreamTlsContext.OcspStaplePolicygetOcspStaplePolicy()Config for whether to use certificates if they do not have an accompanying OCSP response or if the response expires at runtime.intgetOcspStaplePolicyValue()Config for whether to use certificates if they do not have an accompanying OCSP response or if the response expires at runtime.com.google.protobuf.Parser<DownstreamTlsContext>getParserForType()com.google.protobuf.BoolValuegetRequireClientCertificate()If specified, Envoy will reject connections without a valid client certificate.com.google.protobuf.BoolValueOrBuildergetRequireClientCertificateOrBuilder()If specified, Envoy will reject connections without a valid client certificate.com.google.protobuf.BoolValuegetRequireSni()If specified, Envoy will reject connections without a valid and matching SNI.com.google.protobuf.BoolValueOrBuildergetRequireSniOrBuilder()If specified, Envoy will reject connections without a valid and matching SNI.intgetSerializedSize()TlsSessionTicketKeysgetSessionTicketKeys()TLS session ticket key settings.TlsSessionTicketKeysOrBuildergetSessionTicketKeysOrBuilder()TLS session ticket key settings.SdsSecretConfiggetSessionTicketKeysSdsSecretConfig()Config for fetching TLS session ticket keys via SDS API.SdsSecretConfigOrBuildergetSessionTicketKeysSdsSecretConfigOrBuilder()Config for fetching TLS session ticket keys via SDS API.DownstreamTlsContext.SessionTicketKeysTypeCasegetSessionTicketKeysTypeCase()com.google.protobuf.DurationgetSessionTimeout()If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session.com.google.protobuf.DurationOrBuildergetSessionTimeoutOrBuilder()If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session.booleanhasCommonTlsContext()Common TLS context settings.booleanhasDisableStatelessSessionResumption()Config for controlling stateless TLS session resumption: setting this to true will cause the TLS server to not issue TLS session tickets for the purposes of stateless TLS session resumption.booleanhasFullScanCertsOnSniMismatch()Multiple certificates are allowed in Downstream transport socket to serve different SNI.inthashCode()booleanhasRequireClientCertificate()If specified, Envoy will reject connections without a valid client certificate.booleanhasRequireSni()If specified, Envoy will reject connections without a valid and matching SNI.booleanhasSessionTicketKeys()TLS session ticket key settings.booleanhasSessionTicketKeysSdsSecretConfig()Config for fetching TLS session ticket keys via SDS API.booleanhasSessionTimeout()If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DownstreamTlsContext.BuildernewBuilder()static DownstreamTlsContext.BuildernewBuilder(DownstreamTlsContext prototype)DownstreamTlsContext.BuildernewBuilderForType()protected DownstreamTlsContext.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static DownstreamTlsContextparseDelimitedFrom(java.io.InputStream input)static DownstreamTlsContextparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DownstreamTlsContextparseFrom(byte[] data)static DownstreamTlsContextparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DownstreamTlsContextparseFrom(com.google.protobuf.ByteString data)static DownstreamTlsContextparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DownstreamTlsContextparseFrom(com.google.protobuf.CodedInputStream input)static DownstreamTlsContextparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DownstreamTlsContextparseFrom(java.io.InputStream input)static DownstreamTlsContextparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DownstreamTlsContextparseFrom(java.nio.ByteBuffer data)static DownstreamTlsContextparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DownstreamTlsContext>parser()DownstreamTlsContext.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
sessionTicketKeysTypeCase_
private int sessionTicketKeysTypeCase_
-
sessionTicketKeysType_
private java.lang.Object sessionTicketKeysType_
-
COMMON_TLS_CONTEXT_FIELD_NUMBER
public static final int COMMON_TLS_CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
commonTlsContext_
private CommonTlsContext commonTlsContext_
-
REQUIRE_CLIENT_CERTIFICATE_FIELD_NUMBER
public static final int REQUIRE_CLIENT_CERTIFICATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
requireClientCertificate_
private com.google.protobuf.BoolValue requireClientCertificate_
-
REQUIRE_SNI_FIELD_NUMBER
public static final int REQUIRE_SNI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
requireSni_
private com.google.protobuf.BoolValue requireSni_
-
SESSION_TICKET_KEYS_FIELD_NUMBER
public static final int SESSION_TICKET_KEYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SESSION_TICKET_KEYS_SDS_SECRET_CONFIG_FIELD_NUMBER
public static final int SESSION_TICKET_KEYS_SDS_SECRET_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_STATELESS_SESSION_RESUMPTION_FIELD_NUMBER
public static final int DISABLE_STATELESS_SESSION_RESUMPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_STATEFUL_SESSION_RESUMPTION_FIELD_NUMBER
public static final int DISABLE_STATEFUL_SESSION_RESUMPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
disableStatefulSessionResumption_
private boolean disableStatefulSessionResumption_
-
SESSION_TIMEOUT_FIELD_NUMBER
public static final int SESSION_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
sessionTimeout_
private com.google.protobuf.Duration sessionTimeout_
-
OCSP_STAPLE_POLICY_FIELD_NUMBER
public static final int OCSP_STAPLE_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ocspStaplePolicy_
private int ocspStaplePolicy_
-
FULL_SCAN_CERTS_ON_SNI_MISMATCH_FIELD_NUMBER
public static final int FULL_SCAN_CERTS_ON_SNI_MISMATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
fullScanCertsOnSniMismatch_
private com.google.protobuf.BoolValue fullScanCertsOnSniMismatch_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final DownstreamTlsContext DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<DownstreamTlsContext> PARSER
-
-
Method Detail
-
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
-
getSessionTicketKeysTypeCase
public DownstreamTlsContext.SessionTicketKeysTypeCase getSessionTicketKeysTypeCase()
- Specified by:
getSessionTicketKeysTypeCasein interfaceDownstreamTlsContextOrBuilder
-
hasCommonTlsContext
public boolean hasCommonTlsContext()
Common TLS context settings.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1;- Specified by:
hasCommonTlsContextin interfaceDownstreamTlsContextOrBuilder- Returns:
- Whether the commonTlsContext field is set.
-
getCommonTlsContext
public CommonTlsContext getCommonTlsContext()
Common TLS context settings.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1;- Specified by:
getCommonTlsContextin interfaceDownstreamTlsContextOrBuilder- Returns:
- The commonTlsContext.
-
getCommonTlsContextOrBuilder
public CommonTlsContextOrBuilder getCommonTlsContextOrBuilder()
Common TLS context settings.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext common_tls_context = 1;- Specified by:
getCommonTlsContextOrBuilderin interfaceDownstreamTlsContextOrBuilder
-
hasRequireClientCertificate
public boolean hasRequireClientCertificate()
If specified, Envoy will reject connections without a valid client certificate.
.google.protobuf.BoolValue require_client_certificate = 2;- Specified by:
hasRequireClientCertificatein interfaceDownstreamTlsContextOrBuilder- Returns:
- Whether the requireClientCertificate field is set.
-
getRequireClientCertificate
public com.google.protobuf.BoolValue getRequireClientCertificate()
If specified, Envoy will reject connections without a valid client certificate.
.google.protobuf.BoolValue require_client_certificate = 2;- Specified by:
getRequireClientCertificatein interfaceDownstreamTlsContextOrBuilder- Returns:
- The requireClientCertificate.
-
getRequireClientCertificateOrBuilder
public com.google.protobuf.BoolValueOrBuilder getRequireClientCertificateOrBuilder()
If specified, Envoy will reject connections without a valid client certificate.
.google.protobuf.BoolValue require_client_certificate = 2;- Specified by:
getRequireClientCertificateOrBuilderin interfaceDownstreamTlsContextOrBuilder
-
hasRequireSni
public boolean hasRequireSni()
If specified, Envoy will reject connections without a valid and matching SNI. [#not-implemented-hide:]
.google.protobuf.BoolValue require_sni = 3;- Specified by:
hasRequireSniin interfaceDownstreamTlsContextOrBuilder- Returns:
- Whether the requireSni field is set.
-
getRequireSni
public com.google.protobuf.BoolValue getRequireSni()
If specified, Envoy will reject connections without a valid and matching SNI. [#not-implemented-hide:]
.google.protobuf.BoolValue require_sni = 3;- Specified by:
getRequireSniin interfaceDownstreamTlsContextOrBuilder- Returns:
- The requireSni.
-
getRequireSniOrBuilder
public com.google.protobuf.BoolValueOrBuilder getRequireSniOrBuilder()
If specified, Envoy will reject connections without a valid and matching SNI. [#not-implemented-hide:]
.google.protobuf.BoolValue require_sni = 3;- Specified by:
getRequireSniOrBuilderin interfaceDownstreamTlsContextOrBuilder
-
hasSessionTicketKeys
public boolean hasSessionTicketKeys()
TLS session ticket key settings.
.envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys session_ticket_keys = 4;- Specified by:
hasSessionTicketKeysin interfaceDownstreamTlsContextOrBuilder- Returns:
- Whether the sessionTicketKeys field is set.
-
getSessionTicketKeys
public TlsSessionTicketKeys getSessionTicketKeys()
TLS session ticket key settings.
.envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys session_ticket_keys = 4;- Specified by:
getSessionTicketKeysin interfaceDownstreamTlsContextOrBuilder- Returns:
- The sessionTicketKeys.
-
getSessionTicketKeysOrBuilder
public TlsSessionTicketKeysOrBuilder getSessionTicketKeysOrBuilder()
TLS session ticket key settings.
.envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys session_ticket_keys = 4;- Specified by:
getSessionTicketKeysOrBuilderin interfaceDownstreamTlsContextOrBuilder
-
hasSessionTicketKeysSdsSecretConfig
public boolean hasSessionTicketKeysSdsSecretConfig()
Config for fetching TLS session ticket keys via SDS API.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig session_ticket_keys_sds_secret_config = 5;- Specified by:
hasSessionTicketKeysSdsSecretConfigin interfaceDownstreamTlsContextOrBuilder- Returns:
- Whether the sessionTicketKeysSdsSecretConfig field is set.
-
getSessionTicketKeysSdsSecretConfig
public SdsSecretConfig getSessionTicketKeysSdsSecretConfig()
Config for fetching TLS session ticket keys via SDS API.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig session_ticket_keys_sds_secret_config = 5;- Specified by:
getSessionTicketKeysSdsSecretConfigin interfaceDownstreamTlsContextOrBuilder- Returns:
- The sessionTicketKeysSdsSecretConfig.
-
getSessionTicketKeysSdsSecretConfigOrBuilder
public SdsSecretConfigOrBuilder getSessionTicketKeysSdsSecretConfigOrBuilder()
Config for fetching TLS session ticket keys via SDS API.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig session_ticket_keys_sds_secret_config = 5;- Specified by:
getSessionTicketKeysSdsSecretConfigOrBuilderin interfaceDownstreamTlsContextOrBuilder
-
hasDisableStatelessSessionResumption
public boolean hasDisableStatelessSessionResumption()
Config for controlling stateless TLS session resumption: setting this to true will cause the TLS server to not issue TLS session tickets for the purposes of stateless TLS session resumption. If set to false, the TLS server will issue TLS session tickets and encrypt/decrypt them using the keys specified through either :ref:`session_ticket_keys <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.session_ticket_keys>` or :ref:`session_ticket_keys_sds_secret_config <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.session_ticket_keys_sds_secret_config>`. If this config is set to false and no keys are explicitly configured, the TLS server will issue TLS session tickets and encrypt/decrypt them using an internally-generated and managed key, with the implication that sessions cannot be resumed across hot restarts or on different hosts.
bool disable_stateless_session_resumption = 7;- Specified by:
hasDisableStatelessSessionResumptionin interfaceDownstreamTlsContextOrBuilder- Returns:
- Whether the disableStatelessSessionResumption field is set.
-
getDisableStatelessSessionResumption
public boolean getDisableStatelessSessionResumption()
Config for controlling stateless TLS session resumption: setting this to true will cause the TLS server to not issue TLS session tickets for the purposes of stateless TLS session resumption. If set to false, the TLS server will issue TLS session tickets and encrypt/decrypt them using the keys specified through either :ref:`session_ticket_keys <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.session_ticket_keys>` or :ref:`session_ticket_keys_sds_secret_config <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.session_ticket_keys_sds_secret_config>`. If this config is set to false and no keys are explicitly configured, the TLS server will issue TLS session tickets and encrypt/decrypt them using an internally-generated and managed key, with the implication that sessions cannot be resumed across hot restarts or on different hosts.
bool disable_stateless_session_resumption = 7;- Specified by:
getDisableStatelessSessionResumptionin interfaceDownstreamTlsContextOrBuilder- Returns:
- The disableStatelessSessionResumption.
-
getDisableStatefulSessionResumption
public boolean getDisableStatefulSessionResumption()
If set to true, the TLS server will not maintain a session cache of TLS sessions. (This is relevant only for TLSv1.2 and earlier.)
bool disable_stateful_session_resumption = 10;- Specified by:
getDisableStatefulSessionResumptionin interfaceDownstreamTlsContextOrBuilder- Returns:
- The disableStatefulSessionResumption.
-
hasSessionTimeout
public boolean hasSessionTimeout()
If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session. Currently this value is used as a hint for the `TLS session ticket lifetime (for TLSv1.2) <https://tools.ietf.org/html/rfc5077#section-5.6>`_. Only seconds can be specified (fractional seconds are ignored).
.google.protobuf.Duration session_timeout = 6 [(.validate.rules) = { ... }- Specified by:
hasSessionTimeoutin interfaceDownstreamTlsContextOrBuilder- Returns:
- Whether the sessionTimeout field is set.
-
getSessionTimeout
public com.google.protobuf.Duration getSessionTimeout()
If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session. Currently this value is used as a hint for the `TLS session ticket lifetime (for TLSv1.2) <https://tools.ietf.org/html/rfc5077#section-5.6>`_. Only seconds can be specified (fractional seconds are ignored).
.google.protobuf.Duration session_timeout = 6 [(.validate.rules) = { ... }- Specified by:
getSessionTimeoutin interfaceDownstreamTlsContextOrBuilder- Returns:
- The sessionTimeout.
-
getSessionTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getSessionTimeoutOrBuilder()
If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session. Currently this value is used as a hint for the `TLS session ticket lifetime (for TLSv1.2) <https://tools.ietf.org/html/rfc5077#section-5.6>`_. Only seconds can be specified (fractional seconds are ignored).
.google.protobuf.Duration session_timeout = 6 [(.validate.rules) = { ... }- Specified by:
getSessionTimeoutOrBuilderin interfaceDownstreamTlsContextOrBuilder
-
getOcspStaplePolicyValue
public int getOcspStaplePolicyValue()
Config for whether to use certificates if they do not have an accompanying OCSP response or if the response expires at runtime. Defaults to LENIENT_STAPLING
.envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext.OcspStaplePolicy ocsp_staple_policy = 8 [(.validate.rules) = { ... }- Specified by:
getOcspStaplePolicyValuein interfaceDownstreamTlsContextOrBuilder- Returns:
- The enum numeric value on the wire for ocspStaplePolicy.
-
getOcspStaplePolicy
public DownstreamTlsContext.OcspStaplePolicy getOcspStaplePolicy()
Config for whether to use certificates if they do not have an accompanying OCSP response or if the response expires at runtime. Defaults to LENIENT_STAPLING
.envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext.OcspStaplePolicy ocsp_staple_policy = 8 [(.validate.rules) = { ... }- Specified by:
getOcspStaplePolicyin interfaceDownstreamTlsContextOrBuilder- Returns:
- The ocspStaplePolicy.
-
hasFullScanCertsOnSniMismatch
public boolean hasFullScanCertsOnSniMismatch()
Multiple certificates are allowed in Downstream transport socket to serve different SNI. If the client provides SNI but no such cert matched, it will decide to full scan certificates or not based on this config. Defaults to false. See more details in :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>`.
.google.protobuf.BoolValue full_scan_certs_on_sni_mismatch = 9;- Specified by:
hasFullScanCertsOnSniMismatchin interfaceDownstreamTlsContextOrBuilder- Returns:
- Whether the fullScanCertsOnSniMismatch field is set.
-
getFullScanCertsOnSniMismatch
public com.google.protobuf.BoolValue getFullScanCertsOnSniMismatch()
Multiple certificates are allowed in Downstream transport socket to serve different SNI. If the client provides SNI but no such cert matched, it will decide to full scan certificates or not based on this config. Defaults to false. See more details in :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>`.
.google.protobuf.BoolValue full_scan_certs_on_sni_mismatch = 9;- Specified by:
getFullScanCertsOnSniMismatchin interfaceDownstreamTlsContextOrBuilder- Returns:
- The fullScanCertsOnSniMismatch.
-
getFullScanCertsOnSniMismatchOrBuilder
public com.google.protobuf.BoolValueOrBuilder getFullScanCertsOnSniMismatchOrBuilder()
Multiple certificates are allowed in Downstream transport socket to serve different SNI. If the client provides SNI but no such cert matched, it will decide to full scan certificates or not based on this config. Defaults to false. See more details in :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>`.
.google.protobuf.BoolValue full_scan_certs_on_sni_mismatch = 9;- Specified by:
getFullScanCertsOnSniMismatchOrBuilderin interfaceDownstreamTlsContextOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DownstreamTlsContext parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DownstreamTlsContext parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DownstreamTlsContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DownstreamTlsContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DownstreamTlsContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DownstreamTlsContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DownstreamTlsContext parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DownstreamTlsContext parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DownstreamTlsContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DownstreamTlsContext parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DownstreamTlsContext parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DownstreamTlsContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public DownstreamTlsContext.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DownstreamTlsContext.Builder newBuilder()
-
newBuilder
public static DownstreamTlsContext.Builder newBuilder(DownstreamTlsContext prototype)
-
toBuilder
public DownstreamTlsContext.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DownstreamTlsContext.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static DownstreamTlsContext getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DownstreamTlsContext> parser()
-
getParserForType
public com.google.protobuf.Parser<DownstreamTlsContext> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public DownstreamTlsContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-