tizen 2.4 release
[framework/security/key-manager.git] / src / manager / service / key-provider.h
index 612dcd3..8e08c8a 100644 (file)
@@ -85,6 +85,10 @@ typedef struct WrappedKeyAndInfo_ {
 class WrappedKeyAndInfoContainer{
 public:
     WrappedKeyAndInfoContainer();
+
+    WrappedKeyAndInfoContainer(const WrappedKeyAndInfoContainer &);
+    WrappedKeyAndInfoContainer &operator=(const WrappedKeyAndInfoContainer &);
+
     WrappedKeyAndInfoContainer(const unsigned char*);
     WrappedKeyAndInfo& getWrappedKeyAndInfo();
     void setKeyInfoKeyLength(const unsigned int);
@@ -103,6 +107,10 @@ public:
         DECLARE_EXCEPTION_TYPE(CKM::Exception, Base)
     };
     KeyAndInfoContainer();
+
+    KeyAndInfoContainer(const KeyAndInfoContainer &);
+    KeyAndInfoContainer &operator=(const KeyAndInfoContainer &);
+
     KeyAndInfoContainer(const unsigned char*);
     KeyAndInfo& getKeyAndInfo();
     void setKeyInfoKeyLength(const unsigned int);
@@ -172,6 +180,7 @@ public:
     static int closeLibrary();
 
     virtual ~KeyProvider();
+
 private:
     // KeyAndInfoContainer class
     std::shared_ptr<KeyAndInfoContainer> m_kmcDKEK;
@@ -197,6 +206,7 @@ private:
         const char *user,
         const char *password);
 
+    static const char* getConvertedStr(const Password &password);
 };
 
 } // namespace CKM