security: Add IdentityCertificate copy constructor.
diff --git a/src/security/certificate/identity-certificate.cpp b/src/security/certificate/identity-certificate.cpp
index 95f6c1b..7e4bca7 100644
--- a/src/security/certificate/identity-certificate.cpp
+++ b/src/security/certificate/identity-certificate.cpp
@@ -22,6 +22,12 @@
setPublicKeyName();
}
+IdentityCertificate::IdentityCertificate(const IdentityCertificate& identityCertificate)
+ : Certificate(identityCertificate)
+ , publicKeyName_(identityCertificate.publicKeyName_)
+{
+}
+
IdentityCertificate::~IdentityCertificate()
{
}