9 #ifndef NDN_SECURITY_IDENTITY_CERTIFICATE_HPP
10 #define NDN_SECURITY_IDENTITY_CERTIFICATE_HPP
12 #include "../common.hpp"
20 class Error :
public std::runtime_error
25 : std::runtime_error(what)
71 isCorrectName(
const Name& name);
119 #endif //NDN_SECURITY_IDENTITY_CERTIFICATE_HPP
Error(const std::string &what)
void wireDecode(const Block &wire)
static Name certificateNameToPublicKeyName(const Name &certificateName)
Get the public key name from the full certificate name.
Class representing wire element of the NDN packet.
void wireDecode(const Block &wire)
IdentityCertificate()
The default constructor.
void setName(const Name &name)
static bool isIdentityCertificate(const Certificate &certificate)
A Name holds an array of Name::Component and represents an NDN name.
const Name & getPublicKeyName() const
void setName(const Name &name)
Set name to a copy of the given Name.
virtual ~IdentityCertificate()
The virtual destructor.