public interface SubkeySelector
PGPKeyRing
.
This is useful e.g. for selecting a signing key from an OpenPGP key, or a for selecting all
encryption capable subkeys of a certificate.Modifier and Type | Method and Description |
---|---|
java.util.List<OpenPGPCertificate.OpenPGPComponentKey> |
select(OpenPGPCertificate certificate,
OpenPGPPolicy policy)
Given a
PGPKeyRing , select a subset of the key rings (sub-)keys and return their
KeyIdentifiers . |
java.util.List<OpenPGPCertificate.OpenPGPComponentKey> select(OpenPGPCertificate certificate, OpenPGPPolicy policy)
PGPKeyRing
, select a subset of the key rings (sub-)keys and return their
KeyIdentifiers
.certificate
- OpenPGP key or certificatepolicy
- OpenPGP algorithm policy