security: Support KeyType in SecPublicInfo
Change-Id: I0c56b849cd9d659a8f6fd0a0225104ea62bbccd6
Refs: #1648
diff --git a/src/security/sec-public-info-sqlite3.hpp b/src/security/sec-public-info-sqlite3.hpp
index 7c3b7b1..f66b188 100644
--- a/src/security/sec-public-info-sqlite3.hpp
+++ b/src/security/sec-public-info-sqlite3.hpp
@@ -66,11 +66,14 @@
doesPublicKeyExist(const Name& keyName);
virtual void
- addPublicKey(const Name& keyName, KeyType keyType, const PublicKey& publicKeyDer);
+ addKey(const Name& keyName, const PublicKey& publicKeyDer);
virtual shared_ptr<PublicKey>
getPublicKey(const Name& keyName);
+ virtual KeyType
+ getPublicKeyType(const Name& keyName);
+
virtual bool
doesCertificateExist(const Name& certificateName);