All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
pib-data-fixture.hpp
1 
24 #ifndef NDN_PIB_DATA_FIXTURE_HPP
25 #define NDN_PIB_DATA_FIXTURE_HPP
26 
27 #include <ndn-cpp/security/pib/pib-impl.hpp>
28 
30 {
31 public:
33 
34  ndn::PibImpl *pib;
35 
36  ndn::ptr_lib::shared_ptr<ndn::CertificateV2> id1Key1Cert1;
37  ndn::ptr_lib::shared_ptr<ndn::CertificateV2> id1Key1Cert2;
38  ndn::ptr_lib::shared_ptr<ndn::CertificateV2> id1Key2Cert1;
39  ndn::ptr_lib::shared_ptr<ndn::CertificateV2> id1Key2Cert2;
40  ndn::ptr_lib::shared_ptr<ndn::CertificateV2> id2Key1Cert1;
41  ndn::ptr_lib::shared_ptr<ndn::CertificateV2> id2Key1Cert2;
42  ndn::ptr_lib::shared_ptr<ndn::CertificateV2> id2Key2Cert1;
43  ndn::ptr_lib::shared_ptr<ndn::CertificateV2> id2Key2Cert2;
44 
45  ndn::Name id1;
46  ndn::Name id2;
47 
48  ndn::Name id1Key1Name;
49  ndn::Name id1Key2Name;
50  ndn::Name id2Key1Name;
51  ndn::Name id2Key2Name;
52 
53  ndn::Blob id1Key1;
54  ndn::Blob id1Key2;
55  ndn::Blob id2Key1;
56  ndn::Blob id2Key2;
57 };
58 
59 
60 #endif
PibImpl is an abstract base class for the PIB implementation used by the Pib class.
Definition: pib-impl.hpp:37
A Name holds an array of Name::Component and represents an NDN name.
Definition: name.hpp:40
A Blob holds a pointer to an immutable byte array implemented as const std::vector<uint8_t>.
Definition: blob.hpp:42
Copyright (C) 2017-2018 Regents of the University of California.
Definition: pib-data-fixture.hpp:29