libfilezilla
jws.hpp
Go to the documentation of this file.
1 #ifndef LIBFILEZILLA_JWS_HEADER
2 #define LIBFILEZILLA_JWS_HEADER
3 
8 #include "json.hpp"
9 
10 namespace fz {
11 
18 std::pair<json, json> FZ_PUBLIC_SYMBOL create_jwk();
19 
30 json FZ_PUBLIC_SYMBOL jws_sign_flattened(json const& priv, json const& payload, json const& extra_protected = {});
31 }
32 
33 #endif
json parser/builder
Definition: json.hpp:31
Simple json parser/builder.
The namespace used by libfilezilla.
Definition: apply.hpp:17
std::pair< json, json > create_jwk()
Creates a JWK pair.
json jws_sign_flattened(json const &priv, json const &payload, json const &extra_protected={})
Create a JWS, with optional protected data.