23 #ifndef NDN_IDENTITY_CERTIFICATE_HPP
24 #define NDN_IDENTITY_CERTIFICATE_HPP
26 #include "certificate.hpp"
79 getPublicKeyName ()
const {
return publicKeyName_; }
82 isIdentityCertificate(
const Certificate& certificate);
94 isCorrectName(
const Name& name);
Certificate()
The default constructor.
Definition: certificate.cpp:37
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
Definition: identity-certificate.hpp:30
virtual void wireDecode(const Blob &input, WireFormat &wireFormat=*WireFormat::getDefaultWireFormat())
Override to call the base class wireDecode then update the public key name.
Definition: identity-certificate.cpp:139
static Name certificateNameToPublicKeyName(const Name &certificateName)
Get the public key name from the full certificate name.
Definition: identity-certificate.cpp:101
virtual ~IdentityCertificate()
The virtual destructor.
Definition: identity-certificate.cpp:46
A Name holds an array of Name::Component and represents an NDN name.
Definition: name.hpp:40
A Blob holds a pointer to an immutable byte array implemented as const std::vector.
Definition: blob.hpp:42
IdentityCertificate()
The default constructor.
Definition: identity-certificate.hpp:36
virtual Data & setName(const Name &name)
Override the base class method to check that the name is a valid identity certificate name...
Definition: identity-certificate.cpp:78
Definition: certificate.hpp:38