4 * This file is part of the civicrm-cxn-rpc package.
6 * Copyright (c) CiviCRM LLC <info@civicrm.org>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this package.
12 namespace Civi\Cxn\Rpc\AppStore
;
14 use Civi\Cxn\Rpc\AppMeta
;
16 interface AppStoreInterface
{
22 public function getAppIds();
25 * @param string $appId
26 * The application's globally unique ID.
28 * The application metadata.
31 public function getAppMeta($appId);
34 * @param string $appId
35 * The application's globally unique ID.
39 public function getPublicKey($appId);
42 * @param string $appId
43 * The application's globally unique ID.
47 public function getPrivateKey($appId);
50 * @param string $appId
51 * The application's globally unique ID.
53 * Array with elements:
54 * - publickey: string, pem.
55 * - privatekey: string, pem
57 public function getKeyPair($appId);