security: implement operator== for SigningInfo

refs: #3932

Change-Id: I64230ccafe260bfa8347c977c42f38b009b9bbf9
diff --git a/src/security/signing-info.cpp b/src/security/signing-info.cpp
index eb8232b..ec17cda 100644
--- a/src/security/signing-info.cpp
+++ b/src/security/signing-info.cpp
@@ -185,5 +185,14 @@
   return os;
 }
 
+bool
+SigningInfo::operator==(const SigningInfo& rhs) const
+{
+  return getSignerType() == rhs.getSignerType() &&
+    getSignerName() == rhs.getSignerName() &&
+    getDigestAlgorithm() == rhs.getDigestAlgorithm() &&
+    getSignatureInfo() == rhs.getSignatureInfo();
+}
+
 } // namespace security
 } // namespace ndn