Function lcxx::to_json(license const&, std::filesystem::path const&, crypto::rsa_key_t const)¶
Defined in File writer.cpp
Function Documentation¶
-
void lcxx::to_json(license const &license, std::filesystem::path const &output_file, crypto::rsa_key_t const private_key)¶
Calculates the signature and generates the output json, writing it to the file pointed to by
output_file
- Parameters:
license – the license object, which will be serialized
output_file – a system path pointing to the target file - will be overwritten, if it points to an existing
private_key – the private key used to create the signature file