projects
/
platform
/
core
/
security
/
key-manager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Encryption service calls proper encryption/decryption methods
[platform/core/security/key-manager.git]
/
src
/
manager
/
crypto
/
generic-backend
/
gkey.h
diff --git
a/src/manager/crypto/generic-backend/gkey.h
b/src/manager/crypto/generic-backend/gkey.h
index
9327645
..
b06926d
100644
(file)
--- a/
src/manager/crypto/generic-backend/gkey.h
+++ b/
src/manager/crypto/generic-backend/gkey.h
@@
-33,7
+33,7
@@
class GKey {
protected:
GKey(){}
public:
protected:
GKey(){}
public:
- virtual RawBuffer getBinary() {
+ virtual RawBuffer getBinary()
const
{
ThrowErr(Exc::Crypto::OperationNotSupported);
}
ThrowErr(Exc::Crypto::OperationNotSupported);
}
@@
-56,6
+56,7
@@
public:
virtual ~GKey () {}
};
virtual ~GKey () {}
};
+typedef std::unique_ptr<GKey> GKeyUPtr;
typedef std::shared_ptr<GKey> GKeyShPtr;
} // namespace Crypto
typedef std::shared_ptr<GKey> GKeyShPtr;
} // namespace Crypto