ipfs-chromium
library
include
ipfs_client
crypto
signature_verifier.h
1
#ifndef IPFS_CHROMIUM_SIGNATURE_VERIFIER_H
2
#define IPFS_CHROMIUM_SIGNATURE_VERIFIER_H
3
4
#include <vocab/byte_view.h>
5
6
namespace
ipfs::crypto {
11
class
SignatureVerifier
{
12
public
:
13
virtual
~
SignatureVerifier
() noexcept {}
14
using
ByteView = ipfs::ByteView;
15
virtual
bool
VerifySignature(ByteView signature,
16
ByteView data,
17
ByteView key) = 0;
18
};
19
}
// namespace ipfs::crypto
20
21
#endif
// IPFS_CHROMIUM_SIGNATURE_VERIFIER_H
ipfs::crypto::SignatureVerifier
Definition:
signature_verifier.h:11
Generated by
1.9.1