Interface SubjectAltNameMatcherOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubjectAltNameMatcher
,SubjectAltNameMatcher.Builder
public interface SubjectAltNameMatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionMatcher for SAN value.Matcher for SAN value.getOid()
OID Value which is required if OTHER_NAME SAN type is used.com.google.protobuf.ByteString
OID Value which is required if OTHER_NAME SAN type is used.Specification of type of SAN.int
Specification of type of SAN.boolean
Matcher for SAN value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSanTypeValue
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) = { ... }
- Returns:
- The enum numeric value on the wire for sanType.
-
getSanType
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) = { ... }
- Returns:
- The sanType.
-
hasMatcher
boolean hasMatcher()Matcher for SAN value. The string matching for OTHER_NAME SAN values depends on their ASN.1 type: * OBJECT: Validated against its dotted numeric notation (e.g., "1.2.3.4") * BOOLEAN: Validated against strings "true" or "false" * INTEGER/ENUMERATED: Validated against a string containing the integer value * NULL: Validated against an empty string * Other types: Validated directly against the string value
.envoy.type.matcher.v3.StringMatcher matcher = 2 [(.validate.rules) = { ... }
- Returns:
- Whether the matcher field is set.
-
getMatcher
StringMatcher getMatcher()Matcher for SAN value. The string matching for OTHER_NAME SAN values depends on their ASN.1 type: * OBJECT: Validated against its dotted numeric notation (e.g., "1.2.3.4") * BOOLEAN: Validated against strings "true" or "false" * INTEGER/ENUMERATED: Validated against a string containing the integer value * NULL: Validated against an empty string * Other types: Validated directly against the string value
.envoy.type.matcher.v3.StringMatcher matcher = 2 [(.validate.rules) = { ... }
- Returns:
- The matcher.
-
getMatcherOrBuilder
StringMatcherOrBuilder getMatcherOrBuilder()Matcher for SAN value. The string matching for OTHER_NAME SAN values depends on their ASN.1 type: * OBJECT: Validated against its dotted numeric notation (e.g., "1.2.3.4") * BOOLEAN: Validated against strings "true" or "false" * INTEGER/ENUMERATED: Validated against a string containing the integer value * NULL: Validated against an empty string * Other types: Validated directly against the string value
.envoy.type.matcher.v3.StringMatcher matcher = 2 [(.validate.rules) = { ... }
-
getOid
String getOid()OID Value which is required if OTHER_NAME SAN type is used. For example, UPN OID is 1.3.6.1.4.1.311.20.2.3 (Reference: http://oid-info.com/get/1.3.6.1.4.1.311.20.2.3). If set for SAN types other than OTHER_NAME, it will be ignored.
string oid = 3;
- Returns:
- The oid.
-
getOidBytes
com.google.protobuf.ByteString getOidBytes()OID Value which is required if OTHER_NAME SAN type is used. For example, UPN OID is 1.3.6.1.4.1.311.20.2.3 (Reference: http://oid-info.com/get/1.3.6.1.4.1.311.20.2.3). If set for SAN types other than OTHER_NAME, it will be ignored.
string oid = 3;
- Returns:
- The bytes for oid.
-