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);
88 equal(
const Oid& oid)
const;
91 std::vector<int> m_oid;
110 #endif // NDN_ENCODING_OID_HPP
void decode(CryptoPP::BufferedTransformation &in)
bool operator!=(const Oid &oid) const
const Oid ECDSA("1.2.840.10045.2.1")
Copyright (c) 2013-2016 Regents of the University of California.
Copyright (c) 2013-2016 Regents of the University of California.
bool operator==(const Oid &oid) const
void encode(CryptoPP::BufferedTransformation &out) const
const std::vector< int > & getIntegerList() const
const Oid ATTRIBUTE_NAME("2.5.4.41")
const Oid RSA("1.2.840.113549.1.1.1")
Oid(const std::vector< int > &oid)
void setIntegerList(const std::vector< int > &value)
std::string toString() const