All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
asn_ext.hpp
Go to the documentation of this file.
1 
9 #ifndef NDN_ASN_EXT_HPP
10 #define NDN_ASN_EXT_HPP
11 
12 #include "../../common.hpp"
13 #include "../../security/cryptopp.hpp"
14 
15 namespace ndn {
16 
17 size_t
18 DEREncodeGeneralTime(CryptoPP::BufferedTransformation& bt,
19  const time::system_clock::TimePoint& time);
20 
21 void
22 BERDecodeTime(CryptoPP::BufferedTransformation& bt,
24 
25 } // namespace ndn
26 
27 #endif // NDN_ASN_EXT_HPP
size_t DEREncodeGeneralTime(CryptoPP::BufferedTransformation &bt, const time::system_clock::TimePoint &time)
Definition: asn_ext.cpp:20
void BERDecodeTime(CryptoPP::BufferedTransformation &bt, time::system_clock::TimePoint &time)
Definition: asn_ext.cpp:36
time_point TimePoint
Definition: time.hpp:55