Implement verify. Part 1

This commit is contained in:
Arun M 2017-11-09 23:42:04 +05:30
parent 8277e2cbd3
commit 796abd6e65
10 changed files with 473 additions and 160 deletions

View file

@ -10,7 +10,7 @@ void test_basic_header()
std::string enc_str = hdr.base64_encode();
std::cout << "Base64: " << enc_str << std::endl;
std::cout << "Decoded: " << jwt::jwt_header::base64_decode(enc_str) << std::endl;
std::cout << "Decoded: " << hdr.base64_decode(enc_str) << std::endl;
}
int main() {