22 #ifndef NDN_ENCODING_OID_HPP 23 #define NDN_ENCODING_OID_HPP 25 #include "../common.hpp" 30 class BufferedTransformation;
44 Oid(
const std::string& oid);
47 Oid(
const std::vector<int>& oid)
52 const std::vector<int>&
80 encode(CryptoPP::BufferedTransformation& out)
const;
83 decode(CryptoPP::BufferedTransformation& in);
87 equal(
const Oid& oid)
const;
90 std::vector<int> m_oid;
104 #endif // NDN_ENCODING_OID_HPP bool operator!=(const Oid &oid) const
const Oid ECDSA("1.2.840.10045.2.1")
Copyright (c) 2013-2017 Regents of the University of California.
Copyright (c) 2013-2017 Regents of the University of California.
bool operator==(const Oid &oid) const
const std::vector< int > & getIntegerList() const
const Oid ATTRIBUTE_NAME("2.5.4.41")
std::string toString(const system_clock::TimePoint &timePoint, const std::string &format, const std::locale &locale)
Convert time point to string with specified format.
const Oid RSA("1.2.840.113549.1.1.1")
Oid(const std::vector< int > &oid)
void setIntegerList(const std::vector< int > &value)