public static final class Cert.CommonTlsContext extends com.google.protobuf.GeneratedMessageV3 implements Cert.CommonTlsContextOrBuilder
TLS context shared by both client and server TLS contexts.Protobuf type
envoy.api.v2.auth.CommonTlsContext| Modifier and Type | Class and Description |
|---|---|
static class |
Cert.CommonTlsContext.Builder
TLS context shared by both client and server TLS contexts.
|
static class |
Cert.CommonTlsContext.DeprecatedV1
These fields are deprecated and only are used during the interim v1 -> v2
transition period for internal purposes.
|
static interface |
Cert.CommonTlsContext.DeprecatedV1OrBuilder |
static class |
Cert.CommonTlsContext.ValidationContextTypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ALPN_PROTOCOLS_FIELD_NUMBER |
static int |
DEPRECATED_V1_FIELD_NUMBER |
static int |
TLS_CERTIFICATE_SDS_SECRET_CONFIGS_FIELD_NUMBER |
static int |
TLS_CERTIFICATES_FIELD_NUMBER |
static int |
TLS_PARAMS_FIELD_NUMBER |
static int |
VALIDATION_CONTEXT_FIELD_NUMBER |
static int |
VALIDATION_CONTEXT_SDS_SECRET_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlpnProtocols(int index)
Supplies the list of ALPN protocols that the listener should expose.
|
com.google.protobuf.ByteString |
getAlpnProtocolsBytes(int index)
Supplies the list of ALPN protocols that the listener should expose.
|
int |
getAlpnProtocolsCount()
Supplies the list of ALPN protocols that the listener should expose.
|
com.google.protobuf.ProtocolStringList |
getAlpnProtocolsList()
Supplies the list of ALPN protocols that the listener should expose.
|
static Cert.CommonTlsContext |
getDefaultInstance() |
Cert.CommonTlsContext |
getDefaultInstanceForType() |
Cert.CommonTlsContext.DeprecatedV1 |
getDeprecatedV1()
Deprecated.
|
Cert.CommonTlsContext.DeprecatedV1OrBuilder |
getDeprecatedV1OrBuilder()
Deprecated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Cert.CommonTlsContext> |
getParserForType() |
int |
getSerializedSize() |
Cert.TlsCertificate |
getTlsCertificates(int index)
Multiple TLS certificates can be associated with the same context.
|
int |
getTlsCertificatesCount()
Multiple TLS certificates can be associated with the same context.
|
Cert.SdsSecretConfig |
getTlsCertificateSdsSecretConfigs(int index)
Configs for fetching TLS certificates via SDS API.
|
int |
getTlsCertificateSdsSecretConfigsCount()
Configs for fetching TLS certificates via SDS API.
|
List<Cert.SdsSecretConfig> |
getTlsCertificateSdsSecretConfigsList()
Configs for fetching TLS certificates via SDS API.
|
Cert.SdsSecretConfigOrBuilder |
getTlsCertificateSdsSecretConfigsOrBuilder(int index)
Configs for fetching TLS certificates via SDS API.
|
List<? extends Cert.SdsSecretConfigOrBuilder> |
getTlsCertificateSdsSecretConfigsOrBuilderList()
Configs for fetching TLS certificates via SDS API.
|
List<Cert.TlsCertificate> |
getTlsCertificatesList()
Multiple TLS certificates can be associated with the same context.
|
Cert.TlsCertificateOrBuilder |
getTlsCertificatesOrBuilder(int index)
Multiple TLS certificates can be associated with the same context.
|
List<? extends Cert.TlsCertificateOrBuilder> |
getTlsCertificatesOrBuilderList()
Multiple TLS certificates can be associated with the same context.
|
Cert.TlsParameters |
getTlsParams()
TLS protocol versions, cipher suites etc.
|
Cert.TlsParametersOrBuilder |
getTlsParamsOrBuilder()
TLS protocol versions, cipher suites etc.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Cert.CertificateValidationContext |
getValidationContext()
How to validate peer certificates.
|
Cert.CertificateValidationContextOrBuilder |
getValidationContextOrBuilder()
How to validate peer certificates.
|
Cert.SdsSecretConfig |
getValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API.
|
Cert.SdsSecretConfigOrBuilder |
getValidationContextSdsSecretConfigOrBuilder()
Config for fetching validation context via SDS API.
|
Cert.CommonTlsContext.ValidationContextTypeCase |
getValidationContextTypeCase() |
boolean |
hasDeprecatedV1()
Deprecated.
|
int |
hashCode() |
boolean |
hasTlsParams()
TLS protocol versions, cipher suites etc.
|
boolean |
hasValidationContext()
How to validate peer certificates.
|
boolean |
hasValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Cert.CommonTlsContext.Builder |
newBuilder() |
static Cert.CommonTlsContext.Builder |
newBuilder(Cert.CommonTlsContext prototype) |
Cert.CommonTlsContext.Builder |
newBuilderForType() |
protected Cert.CommonTlsContext.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Cert.CommonTlsContext |
parseDelimitedFrom(InputStream input) |
static Cert.CommonTlsContext |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cert.CommonTlsContext |
parseFrom(byte[] data) |
static Cert.CommonTlsContext |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cert.CommonTlsContext |
parseFrom(ByteBuffer data) |
static Cert.CommonTlsContext |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cert.CommonTlsContext |
parseFrom(com.google.protobuf.ByteString data) |
static Cert.CommonTlsContext |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cert.CommonTlsContext |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Cert.CommonTlsContext |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cert.CommonTlsContext |
parseFrom(InputStream input) |
static Cert.CommonTlsContext |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Cert.CommonTlsContext> |
parser() |
Cert.CommonTlsContext.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TLS_PARAMS_FIELD_NUMBER
public static final int TLS_CERTIFICATES_FIELD_NUMBER
public static final int TLS_CERTIFICATE_SDS_SECRET_CONFIGS_FIELD_NUMBER
public static final int VALIDATION_CONTEXT_FIELD_NUMBER
public static final int VALIDATION_CONTEXT_SDS_SECRET_CONFIG_FIELD_NUMBER
public static final int ALPN_PROTOCOLS_FIELD_NUMBER
public static final int DEPRECATED_V1_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Cert.CommonTlsContext.ValidationContextTypeCase getValidationContextTypeCase()
getValidationContextTypeCase in interface Cert.CommonTlsContextOrBuilderpublic boolean hasTlsParams()
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;hasTlsParams in interface Cert.CommonTlsContextOrBuilderpublic Cert.TlsParameters getTlsParams()
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;getTlsParams in interface Cert.CommonTlsContextOrBuilderpublic Cert.TlsParametersOrBuilder getTlsParamsOrBuilder()
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;getTlsParamsOrBuilder in interface Cert.CommonTlsContextOrBuilderpublic List<Cert.TlsCertificate> getTlsCertificatesList()
Multiple TLS certificates can be associated with the same context. E.g. to allow both RSA and ECDSA certificates, two TLS certificates can be configured. .. attention:: Although this is a list, currently only a single certificate is supported. This will be relaxed in the future.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2 [(.validate.rules) = { ... }getTlsCertificatesList in interface Cert.CommonTlsContextOrBuilderpublic List<? extends Cert.TlsCertificateOrBuilder> getTlsCertificatesOrBuilderList()
Multiple TLS certificates can be associated with the same context. E.g. to allow both RSA and ECDSA certificates, two TLS certificates can be configured. .. attention:: Although this is a list, currently only a single certificate is supported. This will be relaxed in the future.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2 [(.validate.rules) = { ... }getTlsCertificatesOrBuilderList in interface Cert.CommonTlsContextOrBuilderpublic int getTlsCertificatesCount()
Multiple TLS certificates can be associated with the same context. E.g. to allow both RSA and ECDSA certificates, two TLS certificates can be configured. .. attention:: Although this is a list, currently only a single certificate is supported. This will be relaxed in the future.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2 [(.validate.rules) = { ... }getTlsCertificatesCount in interface Cert.CommonTlsContextOrBuilderpublic Cert.TlsCertificate getTlsCertificates(int index)
Multiple TLS certificates can be associated with the same context. E.g. to allow both RSA and ECDSA certificates, two TLS certificates can be configured. .. attention:: Although this is a list, currently only a single certificate is supported. This will be relaxed in the future.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2 [(.validate.rules) = { ... }getTlsCertificates in interface Cert.CommonTlsContextOrBuilderpublic Cert.TlsCertificateOrBuilder getTlsCertificatesOrBuilder(int index)
Multiple TLS certificates can be associated with the same context. E.g. to allow both RSA and ECDSA certificates, two TLS certificates can be configured. .. attention:: Although this is a list, currently only a single certificate is supported. This will be relaxed in the future.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2 [(.validate.rules) = { ... }getTlsCertificatesOrBuilder in interface Cert.CommonTlsContextOrBuilderpublic List<Cert.SdsSecretConfig> getTlsCertificateSdsSecretConfigsList()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6;getTlsCertificateSdsSecretConfigsList in interface Cert.CommonTlsContextOrBuilderpublic List<? extends Cert.SdsSecretConfigOrBuilder> getTlsCertificateSdsSecretConfigsOrBuilderList()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6;getTlsCertificateSdsSecretConfigsOrBuilderList in interface Cert.CommonTlsContextOrBuilderpublic int getTlsCertificateSdsSecretConfigsCount()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6;getTlsCertificateSdsSecretConfigsCount in interface Cert.CommonTlsContextOrBuilderpublic Cert.SdsSecretConfig getTlsCertificateSdsSecretConfigs(int index)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6;getTlsCertificateSdsSecretConfigs in interface Cert.CommonTlsContextOrBuilderpublic Cert.SdsSecretConfigOrBuilder getTlsCertificateSdsSecretConfigsOrBuilder(int index)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6;getTlsCertificateSdsSecretConfigsOrBuilder in interface Cert.CommonTlsContextOrBuilderpublic boolean hasValidationContext()
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;hasValidationContext in interface Cert.CommonTlsContextOrBuilderpublic Cert.CertificateValidationContext getValidationContext()
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;getValidationContext in interface Cert.CommonTlsContextOrBuilderpublic Cert.CertificateValidationContextOrBuilder getValidationContextOrBuilder()
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;getValidationContextOrBuilder in interface Cert.CommonTlsContextOrBuilderpublic boolean hasValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;hasValidationContextSdsSecretConfig in interface Cert.CommonTlsContextOrBuilderpublic Cert.SdsSecretConfig getValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;getValidationContextSdsSecretConfig in interface Cert.CommonTlsContextOrBuilderpublic Cert.SdsSecretConfigOrBuilder getValidationContextSdsSecretConfigOrBuilder()
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;getValidationContextSdsSecretConfigOrBuilder in interface Cert.CommonTlsContextOrBuilderpublic com.google.protobuf.ProtocolStringList getAlpnProtocolsList()
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;getAlpnProtocolsList in interface Cert.CommonTlsContextOrBuilderpublic int getAlpnProtocolsCount()
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;getAlpnProtocolsCount in interface Cert.CommonTlsContextOrBuilderpublic String getAlpnProtocols(int index)
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;getAlpnProtocols in interface Cert.CommonTlsContextOrBuilderpublic com.google.protobuf.ByteString getAlpnProtocolsBytes(int index)
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;getAlpnProtocolsBytes in interface Cert.CommonTlsContextOrBuilder@Deprecated public boolean hasDeprecatedV1()
[#not-implemented-hide:]
.envoy.api.v2.auth.CommonTlsContext.DeprecatedV1 deprecated_v1 = 5 [deprecated = true];hasDeprecatedV1 in interface Cert.CommonTlsContextOrBuilder@Deprecated public Cert.CommonTlsContext.DeprecatedV1 getDeprecatedV1()
[#not-implemented-hide:]
.envoy.api.v2.auth.CommonTlsContext.DeprecatedV1 deprecated_v1 = 5 [deprecated = true];getDeprecatedV1 in interface Cert.CommonTlsContextOrBuilder@Deprecated public Cert.CommonTlsContext.DeprecatedV1OrBuilder getDeprecatedV1OrBuilder()
[#not-implemented-hide:]
.envoy.api.v2.auth.CommonTlsContext.DeprecatedV1 deprecated_v1 = 5 [deprecated = true];getDeprecatedV1OrBuilder in interface Cert.CommonTlsContextOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Cert.CommonTlsContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cert.CommonTlsContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cert.CommonTlsContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cert.CommonTlsContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cert.CommonTlsContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cert.CommonTlsContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cert.CommonTlsContext parseFrom(InputStream input) throws IOException
IOExceptionpublic static Cert.CommonTlsContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cert.CommonTlsContext parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Cert.CommonTlsContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cert.CommonTlsContext parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Cert.CommonTlsContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Cert.CommonTlsContext.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Cert.CommonTlsContext.Builder newBuilder()
public static Cert.CommonTlsContext.Builder newBuilder(Cert.CommonTlsContext prototype)
public Cert.CommonTlsContext.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Cert.CommonTlsContext.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Cert.CommonTlsContext getDefaultInstance()
public static com.google.protobuf.Parser<Cert.CommonTlsContext> parser()
public com.google.protobuf.Parser<Cert.CommonTlsContext> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Cert.CommonTlsContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.