Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /** |
| 3 | * Copyright (C) 2013 Regents of the University of California. |
| 4 | * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
| 5 | * See COPYING for copyright and distribution information. |
| 6 | */ |
| 7 | |
| 8 | #include "c/publisher-public-key-digest.h" |
| 9 | #include <ndn-cpp/publisher-public-key-digest.hpp> |
| 10 | |
| 11 | using namespace std; |
| 12 | |
| 13 | namespace ndn { |
| 14 | |
| 15 | void |
| 16 | PublisherPublicKeyDigest::get(struct ndn_PublisherPublicKeyDigest& publisherPublicKeyDigestStruct) const |
| 17 | { |
| 18 | publisherPublicKeyDigest_.get(publisherPublicKeyDigestStruct.publisherPublicKeyDigest); |
| 19 | } |
| 20 | |
| 21 | void |
| 22 | PublisherPublicKeyDigest::set(const struct ndn_PublisherPublicKeyDigest& publisherPublicKeyDigestStruct) |
| 23 | { |
| 24 | publisherPublicKeyDigest_ = Blob(publisherPublicKeyDigestStruct.publisherPublicKeyDigest); |
| 25 | } |
| 26 | |
| 27 | } |