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_CERTIFICATE_H |
| 12 | #define NDN_CERTIFICATE_H |
| 13 | |
| 14 | #include "ndn-cpp/data.h" |
| 15 | |
| 16 | namespace ndn { |
| 17 | |
| 18 | /** |
| 19 | * @brief Class representing NDN identity |
| 20 | * |
| 21 | * - name |
| 22 | * - full NDN name of the NDN certificate |
| 23 | * - /ndn/ucla.edu/alex/cert/<pubkey.sha256>/<issuer> |
| 24 | * - content |
| 25 | * - X.509 certificate in DER format (X.509 certificate can include any necessary identity information, as well as is fully extendable) |
| 26 | * - Subject: |
| 27 | * - full real name, associated with the certificate |
| 28 | * - full affiliation, associated with the certificate |
| 29 | * - Subject Public Key Info |
| 30 | * - Validity |
| 31 | * - signature |
| 32 | * - issuerCertName (KeyLocator/CertName) |
| 33 | * - /ndn/ucla.edu/cert/<pubkey.sha256>/<issuer> |
| 34 | * |
| 35 | */ |
| 36 | class Certificate : public Data |
| 37 | { |
| 38 | public: |
| 39 | }; |
| 40 | |
| 41 | } // ndn |
| 42 | |
| 43 | #endif // NDN_CERTIFICATE_H |