security: Support KeyType in SecPublicInfo
Change-Id: I0c56b849cd9d659a8f6fd0a0225104ea62bbccd6
Refs: #1648
diff --git a/src/security/security-common.hpp b/src/security/security-common.hpp
index f795863..b6b3119 100644
--- a/src/security/security-common.hpp
+++ b/src/security/security-common.hpp
@@ -38,14 +38,14 @@
} // namespace signed_interest
enum KeyType {
- KEY_TYPE_RSA,
- KEY_TYPE_ECDSA,
+ KEY_TYPE_RSA = 0,
+ KEY_TYPE_ECDSA = 1,
// KEY_TYPE_DSA,
- KEY_TYPE_AES,
+ KEY_TYPE_AES = 128,
// KEY_TYPE_DES,
// KEY_TYPE_RC4,
// KEY_TYPE_RC2
- KEY_TYPE_NULL
+ KEY_TYPE_NULL = 255
};
enum KeyClass {