Package pgp.cert_d
Class PGPCertificateStoreAdapter
- java.lang.Object
-
- pgp.cert_d.PGPCertificateStoreAdapter
-
- All Implemented Interfaces:
pgp.certificate_store.PGPCertificateStore
public class PGPCertificateStoreAdapter extends java.lang.Object implements pgp.certificate_store.PGPCertificateStoreAdapter class to adapt aPGPCertificateDirectoryto thePGPCertificateStoreinterface.
-
-
Constructor Summary
Constructors Constructor Description PGPCertificateStoreAdapter(PGPCertificateDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description pgp.certificate_store.certificate.CertificategetCertificate(java.lang.String identifier)pgp.certificate_store.certificate.CertificategetCertificateIfChanged(java.lang.String identifier, java.lang.Long tag)java.util.Iterator<pgp.certificate_store.certificate.Certificate>getCertificates()java.util.Iterator<pgp.certificate_store.certificate.Certificate>getCertificatesBySubkeyId(long subkeyId)java.util.Iterator<java.lang.String>getFingerprints()pgp.certificate_store.certificate.CertificateinsertCertificate(java.io.InputStream data, pgp.certificate_store.certificate.KeyMaterialMerger merge)pgp.certificate_store.certificate.CertificateinsertCertificateBySpecialName(java.lang.String specialName, java.io.InputStream data, pgp.certificate_store.certificate.KeyMaterialMerger merge)
-
-
-
Constructor Detail
-
PGPCertificateStoreAdapter
public PGPCertificateStoreAdapter(PGPCertificateDirectory directory)
-
-
Method Detail
-
getCertificate
public pgp.certificate_store.certificate.Certificate getCertificate(java.lang.String identifier) throws java.io.IOException, pgp.certificate_store.exception.BadNameException, pgp.certificate_store.exception.BadDataException- Specified by:
getCertificatein interfacepgp.certificate_store.PGPCertificateStore- Throws:
java.io.IOExceptionpgp.certificate_store.exception.BadNameExceptionpgp.certificate_store.exception.BadDataException
-
getCertificateIfChanged
public pgp.certificate_store.certificate.Certificate getCertificateIfChanged(java.lang.String identifier, java.lang.Long tag) throws java.io.IOException, pgp.certificate_store.exception.BadNameException, pgp.certificate_store.exception.BadDataException- Specified by:
getCertificateIfChangedin interfacepgp.certificate_store.PGPCertificateStore- Throws:
java.io.IOExceptionpgp.certificate_store.exception.BadNameExceptionpgp.certificate_store.exception.BadDataException
-
getCertificatesBySubkeyId
public java.util.Iterator<pgp.certificate_store.certificate.Certificate> getCertificatesBySubkeyId(long subkeyId) throws java.io.IOException, pgp.certificate_store.exception.BadDataException- Specified by:
getCertificatesBySubkeyIdin interfacepgp.certificate_store.PGPCertificateStore- Throws:
java.io.IOExceptionpgp.certificate_store.exception.BadDataException
-
insertCertificate
public pgp.certificate_store.certificate.Certificate insertCertificate(java.io.InputStream data, pgp.certificate_store.certificate.KeyMaterialMerger merge) throws java.io.IOException, java.lang.InterruptedException, pgp.certificate_store.exception.BadDataException- Specified by:
insertCertificatein interfacepgp.certificate_store.PGPCertificateStore- Throws:
java.io.IOExceptionjava.lang.InterruptedExceptionpgp.certificate_store.exception.BadDataException
-
insertCertificateBySpecialName
public pgp.certificate_store.certificate.Certificate insertCertificateBySpecialName(java.lang.String specialName, java.io.InputStream data, pgp.certificate_store.certificate.KeyMaterialMerger merge) throws java.io.IOException, java.lang.InterruptedException, pgp.certificate_store.exception.BadDataException, pgp.certificate_store.exception.BadNameException- Specified by:
insertCertificateBySpecialNamein interfacepgp.certificate_store.PGPCertificateStore- Throws:
java.io.IOExceptionjava.lang.InterruptedExceptionpgp.certificate_store.exception.BadDataExceptionpgp.certificate_store.exception.BadNameException
-
getCertificates
public java.util.Iterator<pgp.certificate_store.certificate.Certificate> getCertificates()
- Specified by:
getCertificatesin interfacepgp.certificate_store.PGPCertificateStore
-
getFingerprints
public java.util.Iterator<java.lang.String> getFingerprints()
- Specified by:
getFingerprintsin interfacepgp.certificate_store.PGPCertificateStore
-
-