Jeff Thompson | 47c93cf | 2013-08-09 00:38:48 -0700 | [diff] [blame^] | 1 | /** |
| 2 | * @author: Jeff Thompson |
| 3 | * See COPYING for copyright and distribution information. |
| 4 | */ |
| 5 | |
| 6 | #ifndef NDN_KEY_CHAIN_HPP |
| 7 | #define NDN_KEY_CHAIN_HPP |
| 8 | |
| 9 | #include "data.hpp"; |
| 10 | |
| 11 | namespace ndn { |
| 12 | |
| 13 | class KeyChain { |
| 14 | public: |
| 15 | /** |
| 16 | * In data, set the signed info key to the default public key and set the signature using the default private key. |
| 17 | * @param data The Data object to sign and set the signature. |
| 18 | */ |
| 19 | static void defaultSign(Data &data); |
| 20 | |
| 21 | }; |
| 22 | |
| 23 | } |
| 24 | |
| 25 | #endif |