blob: c84ef5a6b32b7b5dce2c89d327967ea047221b5c [file] [log] [blame]
Jeff Thompsonfa306642013-06-17 15:06:57 -07001/* -*- 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
14namespace ndn {
15namespace signature {
16
17const std::string Sha256WithRsa::s_oid = "2.16.840.1.101.3.4.2.1";
18
19Sha256WithRsa::~Sha256WithRsa ()
20{
21}
22
23void
24Sha256WithRsa::doubleDispatch (std::ostream &os, wire::Base &wire, void *userData) const
25{
26 wire.appendSignature (os, *this, userData);
27}
28
29} // signature
30} // ndn