cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
jws.hpp File Reference

Safe parsing boundaries for JOSE compact JWS values. More...

#include <nlohmann/json.hpp>
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "cxxmcp/auth/openssl/base64url.hpp"
#include "cxxmcp/auth/types.hpp"
#include "cxxmcp/core/result.hpp"

Go to the source code of this file.

Classes

struct  mcp::auth::openssl::CompactJwsParts
 
struct  mcp::auth::openssl::JoseProtectedHeader
 
struct  mcp::auth::openssl::DecodedCompactJws
 

Functions

std::optional< std::string > mcp::auth::openssl::detail::jose_optional_string (const nlohmann::json &object, const char *key)
 
MetadataMap mcp::auth::openssl::detail::jose_extension_metadata (const nlohmann::json &object)
 
core::Result< nlohmann::json > mcp::auth::openssl::detail::parse_json_object (std::string_view data, std::string message)
 
core::Result< CompactJwsPartsmcp::auth::openssl::parse_compact_jws_parts (std::string_view compact_jws)
 
core::Result< JoseProtectedHeadermcp::auth::openssl::parse_jose_protected_header (std::string_view protected_header_segment)
 
core::Result< DecodedCompactJwsmcp::auth::openssl::decode_compact_jws (std::string_view compact_jws)
 

Detailed Description

Safe parsing boundaries for JOSE compact JWS values.