Home
last modified time | relevance | path

Searched refs:ReadOptionalTag (Results 1 – 11 of 11) sorted by relevance

/external/cronet/net/cert/pki/
Dparse_certificate.cc150 if (!parser.ReadOptionalTag( in ParseDistributionPointName()
165 if (!parser.ReadOptionalTag( in ParseDistributionPointName()
197 if (!distrib_point_parser.ReadOptionalTag( in ParseAndAddDistributionPoint()
210 if (!distrib_point_parser.ReadOptionalTag(der::kTagContextSpecific | 1, in ParseAndAddDistributionPoint()
216 if (!distrib_point_parser.ReadOptionalTag( in ParseAndAddDistributionPoint()
429 if (!tbs_parser.ReadOptionalTag(der::ContextSpecificConstructed(0), in ParseTbsCertificate()
501 if (!tbs_parser.ReadOptionalTag(der::ContextSpecificPrimitive(1), in ParseTbsCertificate()
522 if (!tbs_parser.ReadOptionalTag(der::ContextSpecificPrimitive(2), in ParseTbsCertificate()
542 if (!tbs_parser.ReadOptionalTag(der::ContextSpecificConstructed(3), in ParseTbsCertificate()
606 if (!extension_parser.ReadOptionalTag(der::kBool, &critical, &has_critical)) in ParseExtension()
[all …]
Dcrl.cc97 if (!tbs_parser.ReadOptionalTag(der::kInteger, &version_der)) in ParseCrlTbsCertList()
156 if (!tbs_parser.ReadOptionalTag(der::ContextSpecificConstructed(0), in ParseCrlTbsCertList()
196 if (!idp_parser.ReadOptionalTag( in ParseIssuingDistributionPoint()
208 if (!dp_name_parser.ReadOptionalTag( in ParseIssuingDistributionPoint()
233 if (!idp_parser.ReadOptionalTag(der::kTagContextSpecific | 1, in ParseIssuingDistributionPoint()
248 if (!idp_parser.ReadOptionalTag(der::kTagContextSpecific | 2, in ParseIssuingDistributionPoint()
Docsp.cc84 if (!parser.ReadOptionalTag(der::ContextSpecificConstructed(0), &reason_input, in ParseRevokedInfo()
188 if (!parser.ReadOptionalTag(der::ContextSpecificConstructed(0), in ParseOCSPSingleResponse()
200 if (!parser.ReadOptionalTag(der::ContextSpecificConstructed(1), in ParseOCSPSingleResponse()
265 if (!parser.ReadOptionalTag(der::ContextSpecificConstructed(0), in ParseOCSPResponseData()
305 if (!parser.ReadOptionalTag(der::ContextSpecificConstructed(1), in ParseOCSPResponseData()
349 if (!parser.ReadOptionalTag(der::ContextSpecificConstructed(0), &certs_input, in ParseBasicOCSPResponse()
Dcertificate_policies.cc269 if (!sequence_parser.ReadOptionalTag(der::ContextSpecificPrimitive(0), in ParsePolicyConstraints()
285 if (!sequence_parser.ReadOptionalTag(der::ContextSpecificPrimitive(1), in ParsePolicyConstraints()
Dname_constraints.cc199 if (!sequence_parser.ReadOptionalTag(der::ContextSpecificConstructed(0), in Parse()
213 if (!sequence_parser.ReadOptionalTag(der::ContextSpecificConstructed(1), in Parse()
/external/cronet/net/der/
Dparser.cc62 bool Parser::ReadOptionalTag(Tag tag, absl::optional<Input>* out) { in ReadOptionalTag() function in net::der::Parser
82 bool Parser::ReadOptionalTag(Tag tag, Input* out, bool* present) { in ReadOptionalTag() function in net::der::Parser
84 if (!ReadOptionalTag(tag, &tmp_out)) in ReadOptionalTag()
93 return ReadOptionalTag(tag, &out, present); in SkipOptionalTag()
Dparser_unittest.cc75 ASSERT_TRUE(parser.ReadOptionalTag(kInteger, &value, &present)); in TEST()
97 ASSERT_TRUE(parser.ReadOptionalTag(kInteger, &optional_value)); in TEST()
120 ASSERT_TRUE(parser.ReadOptionalTag(kInteger, &value, &present)); in TEST()
139 ASSERT_TRUE(parser.ReadOptionalTag(kInteger, &optional_value)); in TEST()
160 ASSERT_TRUE(parser.ReadOptionalTag(kInteger, &value, &present)); in TEST()
335 ASSERT_TRUE(parser.ReadOptionalTag(0x04, &value, &present)); in TEST()
Dparser.h124 [[nodiscard]] bool ReadOptionalTag(Tag tag, absl::optional<Input>* out);
133 [[nodiscard]] bool ReadOptionalTag(Tag tag, Input* out, bool* was_present);
Dparser_fuzzer.cc38 std::ignore = parser.ReadOptionalTag( in LLVMFuzzerTestOneInput()
/external/cronet/net/cert/
Dasn1_util.cc119 if (!tbs_cert_parser.ReadOptionalTag( in SeekToExtensions()
/external/cronet/net/test/
Dcert_builder.cc1166 ASSERT_TRUE(tbs_certificate.ReadOptionalTag( in InitFromCert()