Jeff Thompson | fa30664 | 2013-06-17 15:06:57 -0700 | [diff] [blame] | 1 | /* -*- 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 | |
| 14 | namespace 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 | */ |
| 26 | class Verifier |
| 27 | { |
| 28 | public: |
| 29 | /** |
| 30 | * @brief Virtual destructor |
| 31 | */ |
| 32 | virtual |
| 33 | ~Verifier (); |
| 34 | }; |
| 35 | |
| 36 | } // ndn |
| 37 | |
| 38 | #endif // NDN_VERIFIER_H |