#include <oid.hpp>
Public Member Functions | |
OID () | |
OID (const char *oid) | |
OID (const std::string &oid) | |
OID (const std::vector< int > &oid) | |
const std::vector< int > & | getIntegerList () const |
void | setIntegerList (const std::vector< int > &value) |
std::string | toString () const |
bool | operator== (const OID &oid) const |
bool | operator!= (const OID &oid) const |
void | encode (CryptoPP::BufferedTransformation &out) const |
void | decode (CryptoPP::BufferedTransformation &in) |
|
inlineexplicit |
|
inline |
|
inline |
Definition at line 61 of file oid.hpp.
References ndn::time::toString().
string ndn::OID::toString | ( | ) | const |
Definition at line 70 of file oid.cpp.
Referenced by ndn::PublicKey::decode().
void ndn::OID::encode | ( | CryptoPP::BufferedTransformation & | out | ) | const |
Definition at line 130 of file oid.cpp.
References ndn::encodeValue().
Referenced by ndn::CertificateExtension::encode(), ndn::SecTpm::exportPrivateKeyPkcs5FromTpm(), and ndn::SecTpmOsx::exportPrivateKeyPkcs8FromTpmInternal().
void ndn::OID::decode | ( | CryptoPP::BufferedTransformation & | in | ) |
Definition at line 147 of file oid.cpp.
References ndn::decodeValue(), and ndn::OID_MAGIC_NUMBER.
Referenced by ndn::CertificateExtension::decode(), ndn::PublicKey::decode(), ndn::SecTpmOsx::exportPrivateKeyPkcs8FromTpmInternal(), ndn::SecTpm::importPrivateKeyPkcs5IntoTpm(), ndn::SecTpmOsx::importPrivateKeyPkcs8IntoTpmInternal(), and ndn::Validator::verifySignature().