Interface OpenPGPKeyMaterialProvider<M extends OpenPGPCertificate>

Type Parameters:
M - either OpenPGPCertificate or OpenPGPKey
All Known Subinterfaces:
OpenPGPKeyMaterialProvider.OpenPGPCertificateProvider, OpenPGPKeyMaterialProvider.OpenPGPKeyProvider
All Known Implementing Classes:
OpenPGPKeyMaterialPool, OpenPGPKeyMaterialPool.OpenPGPCertificatePool, OpenPGPKeyMaterialPool.OpenPGPKeyPool

public interface OpenPGPKeyMaterialProvider<M extends OpenPGPCertificate>
Interface for providing OpenPGP keys or certificates.
  • Method Details

    • provide

      M provide(KeyIdentifier componentKeyIdentifier)
      Provide the requested OpenPGPCertificate or OpenPGPKey containing the component key identified by the passed in KeyIdentifier.
      Parameters:
      componentKeyIdentifier - identifier of a component key (primary key or subkey)
      Returns:
      the OpenPGP certificate or key containing the identified component key