security: Adding delete methods in KeyChain
Change-Id: I8e3bbbf6e911b43189c510c56118d291f8932df4
diff --git a/src/security/sec-tpm-memory.cpp b/src/security/sec-tpm-memory.cpp
index 71b1f62..d4de6fc 100644
--- a/src/security/sec-tpm-memory.cpp
+++ b/src/security/sec-tpm-memory.cpp
@@ -62,10 +62,16 @@
SecTpmMemory::generateKeyPairInTpm(const Name& keyName, KeyType keyType, int keySize)
{
#if 1
- throw Error("MemoryPrivateKeyStorage::generateKeyPair not implemented");
+ throw Error("SecTpmMemory::generateKeyPair not implemented");
#endif
}
+void
+SecTpmMemory::deleteKeyPairInTpm(const Name &keyName)
+{
+ throw Error("SecTpmMemory::deleteKeyPairInTpm not implemented");
+}
+
ptr_lib::shared_ptr<PublicKey>
SecTpmMemory::getPublicKeyFromTpm(const Name& keyName)
{