Home
last modified time | relevance | path

Searched refs:ValidateHeader (Results 1 – 7 of 7) sorted by relevance

/external/tink/cc/jwt/internal/
Djwt_format_test.cc96 EXPECT_THAT(ValidateHeader(*header, "HS256", absl::nullopt, absl::nullopt), in TEST()
99 ValidateHeader(*header, "RS256", absl::nullopt, absl::nullopt).ok()); in TEST()
114 EXPECT_THAT(ValidateHeader(*header, "RS256", absl::nullopt, absl::nullopt), in TEST()
117 ValidateHeader(*header, "HS256", absl::nullopt, absl::nullopt).ok()); in TEST()
132 EXPECT_THAT(ValidateHeader(*header, "PS384", absl::nullopt, absl::nullopt), in TEST()
135 ValidateHeader(*header, "HS256", absl::nullopt, absl::nullopt).ok()); in TEST()
151 EXPECT_THAT(ValidateHeader(*header, "PS384", absl::nullopt, absl::nullopt), in TEST()
154 ValidateHeader(*header, "HS256", absl::nullopt, absl::nullopt).ok()); in TEST()
166 ValidateHeader(empty_header, "HS256", absl::nullopt, absl::nullopt).ok()); in TEST()
175 EXPECT_THAT(ValidateHeader(*header, "HS256", absl::nullopt, absl::nullopt), in TEST()
[all …]
Djwt_format.h43 util::Status ValidateHeader(const google::protobuf::Struct& header,
Djwt_public_key_verify_impl.cc69 ValidateHeader(*header, algorithm_, kid, custom_kid_); in VerifyAndDecodeWithKid()
Djwt_mac_impl.cc104 ValidateHeader(*header, algorithm_, kid, custom_kid_); in VerifyMacAndDecodeWithKid()
Djwt_format.cc116 util::Status ValidateHeader(const google::protobuf::Struct& header, in ValidateHeader() function
/external/openthread/tests/unit/
Dtest_mdns.cpp672 void ValidateHeader(DnsMessageType aType, in ValidateHeader() function
1728 … dnsMsg->ValidateHeader(kMulticastQuery, /* Q */ 1, /* Ans */ 0, /* Auth */ 3, /* Addnl */ 0); in TestHostReg()
1742 … dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 3, /* Auth */ 0, /* Addnl */ 1); in TestHostReg()
1759 dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 3, /* Auth */ 0, /* Addnl */ 1); in TestHostReg()
1774 dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 3, /* Auth */ 0, /* Addnl */ 1); in TestHostReg()
1789 dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 0, /* Auth */ 0, /* Addnl */ 1); in TestHostReg()
1808 … dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 2, /* Auth */ 0, /* Addnl */ 1); in TestHostReg()
1828 dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 3, /* Auth */ 0, /* Addnl */ 1); in TestHostReg()
1847 … dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 1, /* Auth */ 0, /* Addnl */ 1); in TestHostReg()
1869 … dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 1, /* Auth */ 0, /* Addnl */ 1); in TestHostReg()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp8.cc37 bool ValidateHeader(const RTPVideoHeaderVP8& hdr_info) { in ValidateHeader() function
116 RTC_DCHECK(ValidateHeader(header)); in BuildHeader()