#pragma once #include "common/OidcJwt.h" #include #include namespace visione::oidc { struct JweParts { Json::Value header; std::string encodedHeader; std::string encodedEncryptedKey; std::string encodedIv; std::string encodedCiphertext; std::string encodedTag; }; JweParts parseJwe(const std::string &jwe); std::string decryptJwe(const std::string &jwe, const Jwk &jwk); } // namespace visione::oidc