22 #ifndef NDN_SIGNATURE_HPP
23 #define NDN_SIGNATURE_HPP
26 #include "util/blob.hpp"
27 #include "lite/signature-lite.hpp"
47 virtual ptr_lib::shared_ptr<Signature>
Copyright (C) 2013-2016 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 void set(const SignatureLite &signatureLite)=0
Clear this signature, and set the values by copying from signatureLite.
A SignatureLite holds a signature type, a KeyLocatorLite, the signature bytes and other fields to rep...
Definition: signature-lite.hpp:36
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:35
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.