Class CommonTlsContext.CombinedCertificateValidationContext
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,CommonTlsContext.CombinedCertificateValidationContextOrBuilder
,java.io.Serializable
- Enclosing class:
- CommonTlsContext
public static final class CommonTlsContext.CombinedCertificateValidationContext extends com.google.protobuf.GeneratedMessage implements CommonTlsContext.CombinedCertificateValidationContextOrBuilder
Protobuf typeenvoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommonTlsContext.CombinedCertificateValidationContext.Builder
Protobuf typeenvoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext
-
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
Fields Modifier and Type Field Description private int
bitField0_
private static CommonTlsContext.CombinedCertificateValidationContext
DEFAULT_INSTANCE
static int
DEFAULT_VALIDATION_CONTEXT_FIELD_NUMBER
private CertificateValidationContext
defaultValidationContext_
private byte
memoizedIsInitialized
private static com.google.protobuf.Parser<CommonTlsContext.CombinedCertificateValidationContext>
PARSER
private static long
serialVersionUID
static int
VALIDATION_CONTEXT_CERTIFICATE_PROVIDER_FIELD_NUMBER
static int
VALIDATION_CONTEXT_CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER
static int
VALIDATION_CONTEXT_SDS_SECRET_CONFIG_FIELD_NUMBER
private CommonTlsContext.CertificateProvider
validationContextCertificateProvider_
private CommonTlsContext.CertificateProviderInstance
validationContextCertificateProviderInstance_
private SdsSecretConfig
validationContextSdsSecretConfig_
-
Constructor Summary
Constructors Modifier Constructor Description private
CombinedCertificateValidationContext()
private
CombinedCertificateValidationContext(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
-
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_
-
DEFAULT_VALIDATION_CONTEXT_FIELD_NUMBER
public static final int DEFAULT_VALIDATION_CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
defaultValidationContext_
private CertificateValidationContext defaultValidationContext_
-
VALIDATION_CONTEXT_SDS_SECRET_CONFIG_FIELD_NUMBER
public static final int VALIDATION_CONTEXT_SDS_SECRET_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
validationContextSdsSecretConfig_
private SdsSecretConfig validationContextSdsSecretConfig_
-
VALIDATION_CONTEXT_CERTIFICATE_PROVIDER_FIELD_NUMBER
public static final int VALIDATION_CONTEXT_CERTIFICATE_PROVIDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
validationContextCertificateProvider_
private CommonTlsContext.CertificateProvider validationContextCertificateProvider_
-
VALIDATION_CONTEXT_CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER
public static final int VALIDATION_CONTEXT_CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
validationContextCertificateProviderInstance_
private CommonTlsContext.CertificateProviderInstance validationContextCertificateProviderInstance_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final CommonTlsContext.CombinedCertificateValidationContext DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<CommonTlsContext.CombinedCertificateValidationContext> PARSER
-
-
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
-
hasDefaultValidationContext
public boolean hasDefaultValidationContext()
How to validate peer certificates.
.envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext default_validation_context = 1 [(.validate.rules) = { ... }
- Specified by:
hasDefaultValidationContext
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
- Returns:
- Whether the defaultValidationContext field is set.
-
getDefaultValidationContext
public CertificateValidationContext getDefaultValidationContext()
How to validate peer certificates.
.envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext default_validation_context = 1 [(.validate.rules) = { ... }
- Specified by:
getDefaultValidationContext
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
- Returns:
- The defaultValidationContext.
-
getDefaultValidationContextOrBuilder
public CertificateValidationContextOrBuilder getDefaultValidationContextOrBuilder()
How to validate peer certificates.
.envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext default_validation_context = 1 [(.validate.rules) = { ... }
- Specified by:
getDefaultValidationContextOrBuilder
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
-
hasValidationContextSdsSecretConfig
public boolean hasValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig validation_context_sds_secret_config = 2 [(.validate.rules) = { ... }
- Specified by:
hasValidationContextSdsSecretConfig
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
- Returns:
- Whether the validationContextSdsSecretConfig field is set.
-
getValidationContextSdsSecretConfig
public SdsSecretConfig getValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig validation_context_sds_secret_config = 2 [(.validate.rules) = { ... }
- Specified by:
getValidationContextSdsSecretConfig
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
- Returns:
- The validationContextSdsSecretConfig.
-
getValidationContextSdsSecretConfigOrBuilder
public SdsSecretConfigOrBuilder getValidationContextSdsSecretConfigOrBuilder()
Config for fetching validation context via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig validation_context_sds_secret_config = 2 [(.validate.rules) = { ... }
- Specified by:
getValidationContextSdsSecretConfigOrBuilder
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
-
hasValidationContextCertificateProvider
@Deprecated public boolean hasValidationContextCertificateProvider()
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext.validation_context_certificate_provider is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=231Certificate provider for fetching CA certs. This will populate the ``default_validation_context.trusted_ca`` field. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider validation_context_certificate_provider = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasValidationContextCertificateProvider
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
- Returns:
- Whether the validationContextCertificateProvider field is set.
-
getValidationContextCertificateProvider
@Deprecated public CommonTlsContext.CertificateProvider getValidationContextCertificateProvider()
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext.validation_context_certificate_provider is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=231Certificate provider for fetching CA certs. This will populate the ``default_validation_context.trusted_ca`` field. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider validation_context_certificate_provider = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getValidationContextCertificateProvider
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
- Returns:
- The validationContextCertificateProvider.
-
getValidationContextCertificateProviderOrBuilder
@Deprecated public CommonTlsContext.CertificateProviderOrBuilder getValidationContextCertificateProviderOrBuilder()
Deprecated.Certificate provider for fetching CA certs. This will populate the ``default_validation_context.trusted_ca`` field. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider validation_context_certificate_provider = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getValidationContextCertificateProviderOrBuilder
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
-
hasValidationContextCertificateProviderInstance
@Deprecated public boolean hasValidationContextCertificateProviderInstance()
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext.validation_context_certificate_provider_instance is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=237Certificate provider instance for fetching CA certs. This will populate the ``default_validation_context.trusted_ca`` field. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance validation_context_certificate_provider_instance = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasValidationContextCertificateProviderInstance
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
- Returns:
- Whether the validationContextCertificateProviderInstance field is set.
-
getValidationContextCertificateProviderInstance
@Deprecated public CommonTlsContext.CertificateProviderInstance getValidationContextCertificateProviderInstance()
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext.validation_context_certificate_provider_instance is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=237Certificate provider instance for fetching CA certs. This will populate the ``default_validation_context.trusted_ca`` field. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance validation_context_certificate_provider_instance = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getValidationContextCertificateProviderInstance
in interfaceCommonTlsContext.CombinedCertificateValidationContextOrBuilder
- Returns:
- The validationContextCertificateProviderInstance.
-
getValidationContextCertificateProviderInstanceOrBuilder
@Deprecated public CommonTlsContext.CertificateProviderInstanceOrBuilder getValidationContextCertificateProviderInstanceOrBuilder()
Deprecated.Certificate provider instance for fetching CA certs. This will populate the ``default_validation_context.trusted_ca`` field. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance validation_context_certificate_provider_instance = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CommonTlsContext.CombinedCertificateValidationContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public CommonTlsContext.CombinedCertificateValidationContext.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CommonTlsContext.CombinedCertificateValidationContext.Builder newBuilder()
-
newBuilder
public static CommonTlsContext.CombinedCertificateValidationContext.Builder newBuilder(CommonTlsContext.CombinedCertificateValidationContext prototype)
-
toBuilder
public CommonTlsContext.CombinedCertificateValidationContext.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CommonTlsContext.CombinedCertificateValidationContext.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static CommonTlsContext.CombinedCertificateValidationContext getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CommonTlsContext.CombinedCertificateValidationContext> parser()
-
getParserForType
public com.google.protobuf.Parser<CommonTlsContext.CombinedCertificateValidationContext> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public CommonTlsContext.CombinedCertificateValidationContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-