[KeyManager] getCertificate and saveCertificate
authorPrzemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Tue, 28 Apr 2015 10:18:14 +0000 (12:18 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 11 May 2015 12:10:23 +0000 (21:10 +0900)
commit582acb6711e1c2fa8c323d9cedff422b3464a0a0
tree6a94dff2203512092e8a456721a6145bede27677
parent4cb809d3e73a822f3ebe9d709ff141a76eee17ab
[KeyManager] getCertificate and saveCertificate

[Verification]
var cert = new tizen.Certificate("cert3", null, true);
cert.save("MIIDGDC...DVC8w==",
    function() {
        console.log('ok');
        var c = tizen.keymanager.getCertificate("cert3");
        console.log(c.name);
        console.log(c.password);
        console.log(c.extractable);
        console.log(c.rawCert);
    },
    function(e) {
        console.log(e.code);
        console.log(e.message);
    }
);

Change-Id: I44ff150d6e83a9715d86e0bc1ca659047bc40a9c
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