Jeff Thompson | fa30664 | 2013-06-17 15:06:57 -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 | * Alexander Afanasyev |
| 5 | * |
| 6 | * BSD license, See the LICENSE file for more information |
| 7 | * |
| 8 | * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu> |
| 9 | */ |
| 10 | |
| 11 | #include "signature-sha256-with-rsa.h" |
| 12 | #include "ndn-cpp/wire/base.h" |
| 13 | |
| 14 | namespace ndn { |
| 15 | namespace signature { |
| 16 | |
| 17 | const std::string Sha256WithRsa::s_oid = "2.16.840.1.101.3.4.2.1"; |
| 18 | |
| 19 | Sha256WithRsa::~Sha256WithRsa () |
| 20 | { |
| 21 | } |
| 22 | |
| 23 | void |
| 24 | Sha256WithRsa::doubleDispatch (std::ostream &os, wire::Base &wire, void *userData) const |
| 25 | { |
| 26 | wire.appendSignature (os, *this, userData); |
| 27 | } |
| 28 | |
| 29 | } // signature |
| 30 | } // ndn |