1#ifndef TENDUKE_TEST_MOCKS_MESSAGEDIGESTVERIFIERMOCK_H
2#define TENDUKE_TEST_MOCKS_MESSAGEDIGESTVERIFIERMOCK_H
4#include "crypto/MessageDigestVerifier.h"
5#include "gmock/gmock.h"
7namespace tenduke {
namespace test {
namespace mocks {
12 MOCK_METHOD(
bool,
verify, (
const void * m, std::size_t ml,
const void * s, std::size_t sl), (
override));
Verifies message by computing digest for message and comparing the computed signature to the provided...
Definition MessageDigestVerifier.h:17
virtual bool verify(const void *message, std::size_t messageLength, const void *signature, std::size_t signatureLength)=0
Verifies the digest.
Definition MessageDigestVerifierMock.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4