NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
asn_ext.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
25 #ifndef NDN_ASN_EXT_HPP
26 #define NDN_ASN_EXT_HPP
27 
28 #include "../../common.hpp"
29 #include "../../security/cryptopp.hpp"
30 
31 #include "../../util/time.hpp"
32 
33 namespace ndn {
34 
35 size_t
36 DEREncodeGeneralTime(CryptoPP::BufferedTransformation& bt,
38 
39 void
40 BERDecodeTime(CryptoPP::BufferedTransformation& bt,
42 
43 } // namespace ndn
44 
45 #endif // NDN_ASN_EXT_HPP
Copyright (c) 2011-2015 Regents of the University of California.
size_t DEREncodeGeneralTime(CryptoPP::BufferedTransformation &bt, const time::system_clock::TimePoint &time)
Definition: asn_ext.cpp:36
void BERDecodeTime(CryptoPP::BufferedTransformation &bt, time::system_clock::TimePoint &time)
Definition: asn_ext.cpp:52
time_point TimePoint
Definition: time.hpp:78