2022-03-01 15:19:01 +01:00
<!--
SPDX-FileCopyrightText: 2022 Paul Schaub < info @ pgpainless . org >
SPDX-License-Identifier: Apache-2.0
-->
# Shared PGP Certificate Directory for Java
2022-03-01 17:13:08 +01:00
[![javadoc ](https://javadoc.io/badge2/org.pgpainless/pgp-cert-d-java/javadoc.svg )](https://javadoc.io/doc/org.pgpainless/pgp-cert-d-java)
[![Maven Central ](https://badgen.net/maven/v/maven-central/org.pgpainless/pgp-cert-d-java )](https://search.maven.org/artifact/org.pgpainless/pgp-cert-d-java)
2022-03-01 15:19:01 +01:00
Backend-agnostic implementation of the [Shared PGP Certificate Directory Specification ](https://sequoia-pgp.gitlab.io/pgp-cert-d/ ).
This module implements the non-OpenPGP parts of the spec, e.g. locating the directory, resolving certificate file paths,
locking the directory for writes etc.
2022-08-24 23:18:54 +02:00
This library can be used on Android API level 26 and up.
2022-03-01 15:19:01 +01:00
To get a useful implementation, a backend implementation such as `pgpainless-cert-d` is required, which needs to provide
support for reading and merging certificates.
2022-08-24 23:18:54 +02:00
`pgp-cert-d-java` can be used as an implementation of `pgp-certificate-store` using the `PGPCertificateStoreAdapter` class.
2022-03-01 17:13:08 +01:00
2022-08-24 23:18:54 +02:00
Note: This is a library module. For a command line interface, see [pgpainless-cert-d-cli ](https://github.com/pgpainless/cert-d-pgpainless/tree/main/pgpainless-cert-d-cli ).