The implicitly-defined destructor is non-virtual and public. We don't
want the EncryptionService to be destroyed via IEncryptionService.
Change-Id: Iaf2b180cdd4f60a4f20cc1c9e1d593dcd1c1f220
/*
- * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
int retCode,
const RawBuffer &data = RawBuffer()) = 0;
virtual void RequestKey(const CryptoRequest &request) = 0;
+protected:
+ ~IEncryptionService() {}
};
} // namespace CKM