AES: add generation, save, get support.
[platform/core/security/key-manager.git] / src / include / ckm / ckm-key.h
index 718f382..02522cc 100644 (file)
@@ -33,13 +33,15 @@ public:
     virtual bool empty() const = 0;
     virtual KeyType getType() const = 0;
     virtual int getSize() const = 0;
-    virtual ElipticCurve getCurve() const = 0;
     virtual RawBuffer getDER() const = 0;
     virtual ~Key(){}
 
     static KeyShPtr create(
         const RawBuffer &rawBuffer,
         const Password &password = Password());
+
+    static KeyShPtr createAES(
+        const RawBuffer &rawBuffer);
 };
 
 } // namespace CKM