+
+
+//
+// Send a keychain-related notification event about this database
+//
+void DbCommon::notify(NotificationEvent event, const DLDbIdentifier &ident)
+{
+ // form the data (encoded DLDbIdentifier)
+ NameValueDictionary nvd;
+ NameValueDictionary::MakeNameValueDictionaryFromDLDbIdentifier(ident, nvd);
+ CssmData data;
+ nvd.Export(data);
+
+ // inject notification into Security event system
+ Listener::notify(kNotificationDomainDatabase, event, data);
+
+ // clean up
+ free (data.data());
+}