22 #ifndef NDN_DIGEST_SHA256_SIGNATURE_HPP
23 #define NDN_DIGEST_SHA256_SIGNATURE_HPP
25 #include "signature.hpp"
45 virtual ptr_lib::shared_ptr<Signature>
99 uint64_t changeCount_;
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
A SignatureLite holds a signature type, a KeyLocatorLite, the signature bytes and other fields to rep...
Definition: signature-lite.hpp:36
virtual ptr_lib::shared_ptr< Signature > clone() const
Return a pointer to a new DigestSha256Signature which is a copy of this signature.
Definition: digest-sha256-signature.cpp:30
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 void set(const SignatureLite &signatureLite)
Clear this signature, and set the values by copying from signatureLite.
Definition: digest-sha256-signature.cpp:59
virtual void setSignature(const Blob &signature)
Set the signature bytes to the given value.
Definition: digest-sha256-signature.cpp:42
virtual const Blob & getSignature() const
Get the signature bytes (which are only the digest).
Definition: digest-sha256-signature.cpp:36
A DigestSha256Signature extends Signature and holds the signature bits (which are only the SHA256 dig...
Definition: digest-sha256-signature.hpp:34
void clear()
Clear all the fields.
Definition: digest-sha256-signature.hpp:84
virtual uint64_t getChangeCount() const
Get the change count, which is incremented each time this object is changed.
Definition: digest-sha256-signature.cpp:69