Package org.bouncycastle.openpgp.api
Interface OpenPGPKeyMaterialProvider<M extends OpenPGPCertificate>
- Type Parameters:
M- eitherOpenPGPCertificateorOpenPGPKey
- 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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInterface for requestingOpenPGPCertificatesby providing aKeyIdentifier.static interfaceInterface for requestingOpenPGPKeysby providing aKeyIdentifier. -
Method Summary
Modifier and TypeMethodDescriptionprovide(KeyIdentifier componentKeyIdentifier) Provide the requestedOpenPGPCertificateorOpenPGPKeycontaining the component key identified by the passed inKeyIdentifier.
-
Method Details
-
provide
Provide the requestedOpenPGPCertificateorOpenPGPKeycontaining the component key identified by the passed inKeyIdentifier.- Parameters:
componentKeyIdentifier- identifier of a component key (primary key or subkey)- Returns:
- the OpenPGP certificate or key containing the identified component key
-