class WrappedKeyAndInfoContainer{
public:
WrappedKeyAndInfoContainer();
+
+ WrappedKeyAndInfoContainer(const WrappedKeyAndInfoContainer &);
+ WrappedKeyAndInfoContainer &operator=(const WrappedKeyAndInfoContainer &);
+
WrappedKeyAndInfoContainer(const unsigned char*);
WrappedKeyAndInfo& getWrappedKeyAndInfo();
void setKeyInfoKeyLength(const unsigned int);
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);
static int closeLibrary();
virtual ~KeyProvider();
+
private:
// KeyAndInfoContainer class
std::shared_ptr<KeyAndInfoContainer> m_kmcDKEK;
const char *user,
const char *password);
+ static const char* getConvertedStr(const Password &password);
};
} // namespace CKM