#include <oid.hpp>
Public Member Functions | |
| Oid ()=default | |
| 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) |
|
default |
|
inlineexplicit |
|
inline |
|
inline |
Definition at line 59 of file oid.hpp.
References ndn::time::toString().
| std::string ndn::Oid::toString | ( | ) | const |
Definition at line 58 of file oid.cpp.
Referenced by ndn::security::v1::PublicKey::decode().
| void ndn::Oid::encode | ( | CryptoPP::BufferedTransformation & | out | ) | const |
Definition at line 118 of file oid.cpp.
References ndn::encodeValue().
Referenced by ndn::security::v1::CertificateExtension::encode(), ndn::security::SecTpm::exportPrivateKeyPkcs5FromTpm(), and ndn::security::SecTpmOsx::exportPrivateKeyPkcs8FromTpmInternal().
| void ndn::Oid::decode | ( | CryptoPP::BufferedTransformation & | in | ) |
Definition at line 135 of file oid.cpp.
References ndn::decodeValue(), and ndn::OID_MAGIC_NUMBER.
Referenced by ndn::security::v1::CertificateExtension::decode(), ndn::security::v1::PublicKey::decode(), ndn::security::SecTpmOsx::exportPrivateKeyPkcs8FromTpmInternal(), ndn::security::SecTpm::importPrivateKeyPkcs5IntoTpm(), ndn::security::SecTpmOsx::importPrivateKeyPkcs8IntoTpmInternal(), and ndn::security::Validator::verifySignature().