blob: cb98243f4930d1d64a0b0dcd0bd2894e8f0de936 [file] [log] [blame]
Jeff Thompsonfa306642013-06-17 15:06:57 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (c) 2013, Regents of the University of California
4 * Alexander Afanasyev
5 *
6 * BSD license, See the LICENSE file for more information
7 *
8 * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
9 */
10
11#ifndef NDN_VERIFIER_H
12#define NDN_VERIFIER_H
13
14namespace ndn {
15
16/**
17 * @brief Interface for NDN DATA packet verification (trust model)
18 *
19 * --- interface to verify DATA packets
20 * - application selects required implementation
21 * - at least two build-in models:
22 * = hierarchical (default)
23 * = simple chain (without authorization)
24 * - uses NDN keychain as a backend to cache certificates
25 */
26class Verifier
27{
28public:
29 /**
30 * @brief Virtual destructor
31 */
32 virtual
33 ~Verifier ();
34};
35
36} // ndn
37
38#endif // NDN_VERIFIER_H