| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| * Copyright (C) 2013 Regents of the University of California. |
| * @author: Yingdi Yu <yingdi@cs.ucla.edu> |
| * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
| * See COPYING for copyright and distribution information. |
| #ifndef NDN_IDENTITY_CERTIFICATE_HPP |
| #define NDN_IDENTITY_CERTIFICATE_HPP |
| #include "certificate.hpp" |
| class IdentityCertificate : public Certificate |
| * The default constructor. |
| * Create an IdentityCertificate from the content in the data packet. |
| * @param data The data packet with the content to decode. |
| IdentityCertificate(const Data& data); |
| * The virtual destructor. |
| setName(const Name& name); |
| getPublicKeyName() const; |
| isIdentityCertificate(const Certificate& certificate); |
| isCorrectName(const Name& name); |