Add Protocol::SignedMessage::valid + tests
This commit is contained in:
@@ -19,7 +19,7 @@ struct SignedMessage {
|
||||
std::string plaintext);
|
||||
|
||||
std::vector<uint8_t> serialize();
|
||||
// bool valid();
|
||||
bool valid(unsigned char pub_key[crypto_sign_PUBLICKEYBYTES]);
|
||||
};
|
||||
|
||||
} // namespace Protocol
|
||||
|
||||
Reference in New Issue
Block a user