Function lcxx::sign¶
- Defined in File verifier.cpp 
Function Documentation¶
- 
auto lcxx::sign(license const &lic, crypto::rsa_key_t const private_key) -> std::vector<std::byte>¶
- sign the content of a license object with a private RSA key and return the signature - Parameters:
- lic – the license object to sign 
- private_key – the private key used to generate the signature 
 
- Returns:
- std::vector< std::byte > the binary signature in form of a byte vector