22 #ifndef NDN_SECURITY_PIB_IDENTITY_HPP 23 #define NDN_SECURITY_PIB_IDENTITY_HPP 71 Identity(weak_ptr<detail::IdentityImpl> impl);
85 getKey(
const Name& keyName)
const;
98 getDefaultKey()
const;
104 operator bool()
const;
115 addKey(
const uint8_t* key,
size_t keyLen,
const Name& keyName)
const;
122 removeKey(
const Name& keyName)
const;
131 setDefaultKey(
const Name& keyName)
const;
140 setDefaultKey(
const uint8_t* key,
size_t keyLen,
const Name& keyName)
const;
148 shared_ptr<detail::IdentityImpl>
152 weak_ptr<detail::IdentityImpl> m_impl;
164 return !(lhs != rhs);
177 #endif // NDN_SECURITY_PIB_IDENTITY_HPP std::ostream & operator<<(std::ostream &os, const Identity &id)
The interface of signing key management.
bool operator==(const Identity &lhs, const Identity &rhs)
Container of keys of an identity.
A frontend handle of a key instance.
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
Represents an absolute name.
bool operator!=(const Identity &lhs, const Identity &rhs)
A frontend handle of an Identity.