mirror of
https://codeberg.org/PGPainless/cert-d-pgpainless.git
synced 2024-06-26 05:24:56 +02:00
19 lines
442 B
Java
19 lines
442 B
Java
|
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org>
|
||
|
//
|
||
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
package pgp.cert_d.cli;
|
||
|
|
||
|
import org.pgpainless.certificate_store.PGPainlessCertD;
|
||
|
|
||
|
public class InstantiateCLI {
|
||
|
|
||
|
public static void resetStore() {
|
||
|
PGPCertDCli.certificateDirectory = null;
|
||
|
}
|
||
|
|
||
|
public static void setInMemoryStore() {
|
||
|
PGPCertDCli.certificateDirectory = PGPainlessCertD.inMemory();
|
||
|
}
|
||
|
}
|