Add Trust Scope UI operation
diff --git a/src/contact-item.cpp b/src/contact-item.cpp
index c14b328..b737daa 100644
--- a/src/contact-item.cpp
+++ b/src/contact-item.cpp
@@ -24,6 +24,7 @@
ContactItem::ContactItem(const EndorseCertificate& selfEndorseCertificate,
const string& alias)
: m_selfEndorseCertificate(selfEndorseCertificate)
+ , m_isIntroducer(false)
{
Name endorsedkeyName = selfEndorseCertificate.getPublicKeyName();
Ptr<const signature::Sha256WithRsa> endorseSig = boost::dynamic_pointer_cast<const signature::Sha256WithRsa>(selfEndorseCertificate.getSignature());
@@ -65,3 +66,12 @@
m_institution = string(institutionBlob->buf(), institutionBlob->size());
}
+ContactItem::ContactItem(const ContactItem& contactItem)
+ : m_selfEndorseCertificate(contactItem.m_selfEndorseCertificate)
+ , m_namespace(contactItem.m_namespace)
+ , m_alias(contactItem.m_alias)
+ , m_name(contactItem.m_name)
+ , m_institution(contactItem.m_institution)
+ , m_isIntroducer(false)
+{}
+