1#ifndef TENDUKE_LIBCRYPTO_ASYMMETRICMESSAGEDIGEST_H
2#define TENDUKE_LIBCRYPTO_ASYMMETRICMESSAGEDIGEST_H
4#include "crypto/MessageDigestVerifier.h"
6#include "./LibcryptoPublicKey.h"
11#include <openssl/evp.h>
34 const std::string &algorithmName,
53 std::size_t messageLength,
54 const void *signature,
55 std::size_t signatureLength
61 const std::unique_ptr<EVP_MD_CTX,
decltype(EVP_MD_CTX_free) *> ctx;
Verifies message by computing digest for message and comparing the computed signature to the provided...
Definition MessageDigestVerifier.h:17
Libcrypto-implementation of asymmetric tenduke::crypto::MessageDigestVerifier.
Definition AsymmetricMessageDigest.h:24
bool verify(const void *message, std::size_t messageLength, const void *signature, std::size_t signatureLength) override
Verifies the signature.
Definition AsymmetricMessageDigest.cpp:34
Libcrypto-implementation of a public key definition.
Definition LibcryptoPublicKey.h:19
libcrypto based implementations of cryptography services.
Definition AsymmetricMessageDigest.h:15
Cryptography services.
Definition CryptoException.h:7
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4