cordova certificate helper util