Class SubjectAltNameMatcher
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SubjectAltNameMatcherOrBuilder,Serializable
public final class SubjectAltNameMatcher extends com.google.protobuf.GeneratedMessageV3 implements SubjectAltNameMatcherOrBuilder
Matcher for subject alternative names, to match both type and value of the SAN.
Protobuf typeenvoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubjectAltNameMatcher.BuilderMatcher for subject alternative names, to match both type and value of the SAN.static classSubjectAltNameMatcher.SanTypeIndicates the choice of GeneralName as defined in section 4.2.1.5 of RFC 5280 to match against.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMATCHER_FIELD_NUMBERstatic intSAN_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static SubjectAltNameMatchergetDefaultInstance()SubjectAltNameMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringMatchergetMatcher()Matcher for SAN value.StringMatcherOrBuildergetMatcherOrBuilder()Matcher for SAN value.com.google.protobuf.Parser<SubjectAltNameMatcher>getParserForType()SubjectAltNameMatcher.SanTypegetSanType()Specification of type of SAN.intgetSanTypeValue()Specification of type of SAN.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasMatcher()Matcher for SAN value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SubjectAltNameMatcher.BuildernewBuilder()static SubjectAltNameMatcher.BuildernewBuilder(SubjectAltNameMatcher prototype)SubjectAltNameMatcher.BuildernewBuilderForType()protected SubjectAltNameMatcher.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SubjectAltNameMatcherparseDelimitedFrom(InputStream input)static SubjectAltNameMatcherparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNameMatcherparseFrom(byte[] data)static SubjectAltNameMatcherparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNameMatcherparseFrom(com.google.protobuf.ByteString data)static SubjectAltNameMatcherparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNameMatcherparseFrom(com.google.protobuf.CodedInputStream input)static SubjectAltNameMatcherparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNameMatcherparseFrom(InputStream input)static SubjectAltNameMatcherparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNameMatcherparseFrom(ByteBuffer data)static SubjectAltNameMatcherparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SubjectAltNameMatcher>parser()SubjectAltNameMatcher.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SAN_TYPE_FIELD_NUMBER
public static final int SAN_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MATCHER_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSanTypeValue
public int getSanTypeValue()
Specification of type of SAN. Note that the default enum value is an invalid choice.
.envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher.SanType san_type = 1 [(.validate.rules) = { ... }- Specified by:
getSanTypeValuein interfaceSubjectAltNameMatcherOrBuilder- Returns:
- The enum numeric value on the wire for sanType.
-
getSanType
public SubjectAltNameMatcher.SanType getSanType()
Specification of type of SAN. Note that the default enum value is an invalid choice.
.envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher.SanType san_type = 1 [(.validate.rules) = { ... }- Specified by:
getSanTypein interfaceSubjectAltNameMatcherOrBuilder- Returns:
- The sanType.
-
hasMatcher
public boolean hasMatcher()
Matcher for SAN value.
.envoy.type.matcher.v3.StringMatcher matcher = 2 [(.validate.rules) = { ... }- Specified by:
hasMatcherin interfaceSubjectAltNameMatcherOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcher
public StringMatcher getMatcher()
Matcher for SAN value.
.envoy.type.matcher.v3.StringMatcher matcher = 2 [(.validate.rules) = { ... }- Specified by:
getMatcherin interfaceSubjectAltNameMatcherOrBuilder- Returns:
- The matcher.
-
getMatcherOrBuilder
public StringMatcherOrBuilder getMatcherOrBuilder()
Matcher for SAN value.
.envoy.type.matcher.v3.StringMatcher matcher = 2 [(.validate.rules) = { ... }- Specified by:
getMatcherOrBuilderin interfaceSubjectAltNameMatcherOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(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 SubjectAltNameMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubjectAltNameMatcher parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubjectAltNameMatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubjectAltNameMatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SubjectAltNameMatcher.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SubjectAltNameMatcher.Builder newBuilder()
-
newBuilder
public static SubjectAltNameMatcher.Builder newBuilder(SubjectAltNameMatcher prototype)
-
toBuilder
public SubjectAltNameMatcher.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SubjectAltNameMatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SubjectAltNameMatcher getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SubjectAltNameMatcher> parser()
-
getParserForType
public com.google.protobuf.Parser<SubjectAltNameMatcher> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SubjectAltNameMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-