blob: c9c89ed5ec83e430d1fe520209eb688027b0fdbd [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"
Jeff Thompson42cea3a2013-06-25 19:10:59 -070012#include "../encoding/base.h"
Jeff Thompsonfa306642013-06-17 15:06:57 -070013
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