[KeyManager] generateKeyPair implementation
authorPrzemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Mon, 27 Apr 2015 13:17:35 +0000 (15:17 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 11 May 2015 12:05:24 +0000 (21:05 +0900)
commit0d979af01c6d3eb8644db523fb806310f131835f
treeb47cb85aedb985d8cc9ef936c3a477b4a28eb2c2
parent731d7284da22e5040348086dc9de5dd600cab21c
[KeyManager] generateKeyPair implementation

[Verification]
var myPrivKey = new tizen.Key("priv3", "priv_password", false);
var myPubKey = new tizen.Key("pub3", null, true);

tizen.keymanager.generateKeyPair(myPrivKey, myPubKey, "RSA", "2048", function() {
    console.log('ok');
  }, function(e) {
    console.log(e.code);
    console.log(e.message);
});

Change-Id: I6d59104f2d8d0f0022ed64b83a6036e10dd9f306
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
src/keymanager/keymanager_instance.cc
src/keymanager/keymanager_instance.h
src/keymanager/keymanager_observers.cc
src/keymanager/keymanager_observers.h