Packet Signing & Key Verification Stage: Start
diff --git a/nlsr_km_util.h b/nlsr_km_util.h
new file mode 100644
index 0000000..8ad001f
--- /dev/null
+++ b/nlsr_km_util.h
@@ -0,0 +1,27 @@
+#ifndef _NLSR_KM_UTIL_H_
+#define _NLSR_KM_UTIL_H_
+
+int
+contain_key_name(const unsigned char *ccnb,
+ struct ccn_parsed_ContentObject *pco);
+
+struct ccn_charbuf *
+get_key_name(const unsigned char *ccnb,
+ struct ccn_parsed_ContentObject *pco);
+
+int
+check_for_name_component_in_name(const struct ccn_charbuf *name,
+ const struct ccn_indexbuf *indx,
+ const char *component);
+int
+check_for_tag_component_in_name(const struct ccn_charbuf *name,
+ const struct ccn_indexbuf *indx,
+ const char *component);
+enum key_type
+get_key_type_from_key_name(struct ccn_charbuf *keyname);
+
+
+int
+appendLifetime(struct ccn_charbuf *cb, int lifetime);
+
+#endif