ipfs-chromium
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 {
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
Definition: signature_verifier.h:11