22 #ifndef NDN_SIGNATURE_HPP
23 #define NDN_SIGNATURE_HPP
26 #include "util/blob.hpp"
48 virtual ptr_lib::shared_ptr<Signature>
Copyright (C) 2013-2015 Regents of the University of California.
Definition: common.hpp:35
virtual const Blob & getSignature() const =0
Get the signature bytes.
virtual void setSignature(const Blob &signature)=0
Set the signature bytes to the given value.
virtual uint64_t getChangeCount() const =0
Get the change count, which is incremented each time this object (or a child object) is changed...
A Signature is an abstract base class providing methods to work with the signature information in a D...
Definition: signature.hpp:36
A Blob holds a pointer to an immutable byte array implemented as const std::vector.
Definition: blob.hpp:42
virtual ~Signature()
The virtual destructor.
Definition: signature.cpp:28
virtual ptr_lib::shared_ptr< Signature > clone() const =0
Return a pointer to a new Signature which is a copy of this signature.
virtual void set(const struct ndn_Signature &signatureStruct)=0
Clear this signature, and set the values by copying from the ndn_Signature struct.
An ndn_Signature struct holds the signature bits and other info representing the signature in a data ...
Definition: data-types.h:64