Searched refs:decodeHex (Results 1 – 3 of 3) sorted by relevance
46 TEST(IdentityCredentialSupport, decodeHex) { in TEST() argument47 EXPECT_EQ(vector<uint8_t>({}), support::decodeHex("")); in TEST()48 EXPECT_EQ(vector<uint8_t>({1}), support::decodeHex("01")); in TEST()51 support::decodeHex("000102030405060708090a0b0c0d0e0f10")); in TEST()53 EXPECT_FALSE(support::decodeHex("0g")); in TEST()54 EXPECT_FALSE(support::decodeHex("0")); in TEST()55 EXPECT_FALSE(support::decodeHex("012")); in TEST()387 support::decodeHex("f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8") in TEST()
60 optional<vector<uint8_t>> decodeHex(const string& hexEncoded);
125 optional<vector<uint8_t>> decodeHex(const string& hexEncoded) { in decodeHex() function