// SPDX-FileCopyrightText: 2022 Paul Schaub // // SPDX-License-Identifier: Apache-2.0 package pgp.cert_d; import pgp.certificate.Certificate; import java.io.IOException; import java.util.Iterator; public interface ReadOnlyPGPCertificateDirectory { Certificate getTrustRootCertificate() throws IOException, BadDataException; Certificate getByFingerprint(String fingerprint) throws IOException, BadNameException, BadDataException; Certificate getBySpecialName(String specialName) throws IOException, BadNameException, BadDataException; Iterator items(); Iterator fingerprints(); }