aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Config.js
blob: e85bbb820370a1e95422dc1e1769f7ea67c3e8bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* gpgme.js - Javascript integration for gpgme
 * Copyright (C) 2018 Bundesamt für Sicherheit in der Informationstechnik
 *
 * This file is part of GPGME.
 *
 * GPGME is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * GPGME is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program; if not, see <http://www.gnu.org/licenses/>.
 * SPDX-License-Identifier: LGPL-2.1+
 */

export const availableConf = {
    null_expire_is_never: [true, false],
    // cachedKeys: Some Key info will not be queried on each invocation,
    // manual refresh by Key.refresh()
    cachedKeys: [true, false]
};

export const defaultConf = {
    null_expire_is_never: false,
    cachedKeys: false
};