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_IDENTITY_H |
| 12 | #define NDN_IDENTITY_H |
| 13 | |
| 14 | namespace ndn { |
| 15 | |
| 16 | /** |
| 17 | * @brief Class representing NDN identity |
| 18 | * |
| 19 | * - name |
| 20 | * - (indexing and lookup) |
| 21 | * - /ndn/ucla.edu/alex |
| 22 | * - contents |
| 23 | * - privateKeyName |
| 24 | * - unique name of the private key |
| 25 | * - private key bits are not exposed anywhere |
| 26 | * - /ndn/ucla.edu/alex/privKey/<pubkey.sha256> |
| 27 | * - indexed list of certificates |
| 28 | * - NDN DATA packets |
| 29 | * - easy access data structure of NDN certificate (“parsed DATA packet”) |
| 30 | * - link to default certificate |
| 31 | * - revocation list |
| 32 | * - one or more NDN DATA packets |
| 33 | * - name: <identity-name>/revocation-list/<version>(/<seqno>)? |
| 34 | * - /ndn/ucla.edu/alex/revocation-list/%FD...01 |
| 35 | * - initially empty, updated whenever an issued certificate is getting revoked |
| 36 | * - revocation always exists |
| 37 | * |
| 38 | */ |
| 39 | class Identity |
| 40 | { |
| 41 | public: |
| 42 | }; |
| 43 | |
| 44 | } // ndn |
| 45 | |
| 46 | #endif // NDN_IDENTITY_H |