verify streaming packet signature

This commit is contained in:
orignal 2014-08-22 19:47:29 -04:00
parent 96b5907173
commit 9b8460cffa
4 changed files with 28 additions and 10 deletions

View file

@ -115,6 +115,7 @@ namespace data
const IdentHash& GetIdentHash () const { return m_IdentHash; };
size_t GetFullLen () const { return m_ExtendedLen + DEFAULT_IDENTITY_SIZE; };
size_t GetSigningPublicKeyLen ();
size_t GetSignatureLen ();
bool Verify (const uint8_t * buf, size_t len, const uint8_t * signature);
private: