22 #ifndef NDN_SECURITY_KEY_HPP
23 #define NDN_SECURITY_KEY_HPP
111 operator bool()
const;
133 removeCertificate(
const Name& certName);
143 setDefaultCertificate(
const Name& certName);
187 validityCheck()
const;
195 mutable bool m_hasDefaultCertificate;
198 mutable bool m_needRefreshCerts;
201 shared_ptr<PibImpl> m_impl;
207 #endif // NDN_SECURITY_PIB_HPP
const Name & getIdentity() const
Get the name of the belonging identity.
Copyright (c) 2013-2016 Regents of the University of California.
v1::IdentityCertificate getCertificate(const Name &certName) const
Get a certificate.
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
The packet signing interface.
const v1::IdentityCertificate & getDefaultCertificate() const
Get the default certificate for this Key.
const v1::PublicKey & getPublicKey() const
Get public key.
A handler to search or enumerate certificates of a key.
Key()
Default Constructor.
const Name & getName() const
Get the name of the key.
A handler to search or enumerate keys of an identity.
bool operator!() const
Check if the Key instance is invalid.
const CertificateContainer & getCertificates() const
Get all the certificates for this key.
Name abstraction to represent an absolute name.
Component holds a read-only name component value.
const name::Component & getKeyId() const
Get the key id of the key.