Jeff Thompson | e7e069b | 2013-09-27 15:48:48 -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 | * @author: Yingdi Yu <yingdi@cs.ucla.edu> |
| 5 | * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
| 6 | * See COPYING for copyright and distribution information. |
| 7 | */ |
| 8 | |
| 9 | #ifndef NDN_CERTIFICATE_HPP |
| 10 | #define NDN_CERTIFICATE_HPP |
| 11 | |
| 12 | #include "../../data.hpp" |
| 13 | |
| 14 | namespace ndn { |
| 15 | |
| 16 | class Certificate : public Data { |
Jeff Thompson | c69163b | 2013-10-12 13:49:50 -0700 | [diff] [blame] | 17 | public: |
| 18 | /** |
| 19 | * The default constructor. |
| 20 | */ |
| 21 | Certificate(); |
| 22 | |
| 23 | /** |
| 24 | * Create a Certificate from the content in the data packet. |
| 25 | * @param data The data packet with the content to decode. |
| 26 | */ |
| 27 | Certificate(const Data& data); |
Jeff Thompson | e7e069b | 2013-09-27 15:48:48 -0700 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | } |
| 31 | |
| 32 | #endif |