Package org.apache.sshd.openpgp
Interface PGPAuthorizedKeyEntriesLoader
- All Superinterfaces:
PGPPublicKeyExtractor
,org.apache.sshd.common.config.keys.PublicKeyEntryResolver
- All Known Implementing Classes:
PGPAuthorizedEntriesTracker
,PGPPublicRingWatcher
public interface PGPAuthorizedKeyEntriesLoader
extends PGPPublicKeyExtractor, org.apache.sshd.common.config.keys.PublicKeyEntryResolver
TODO Add javadoc
-
Field Summary
Fields inherited from interface org.apache.sshd.common.config.keys.PublicKeyEntryResolver
FAILING, IGNORING
-
Method Summary
Modifier and TypeMethodDescriptionloadMatchingAuthorizedEntries
(org.apache.sshd.common.session.SessionContext session, Collection<? extends org.apache.sshd.common.config.keys.PublicKeyEntry> entries) loadMatchingKeyFingerprints
(org.apache.sshd.common.session.SessionContext session, Collection<String> fingerprints) default PublicKey
resolve
(org.apache.sshd.common.session.SessionContext session, String keyType, byte[] keyData, Map<String, String> headers) resolveAuthorizedEntries
(org.apache.sshd.common.session.SessionContext session, Collection<? extends org.apache.sshd.common.config.keys.PublicKeyEntry> entries, org.apache.sshd.common.config.keys.PublicKeyEntryResolver fallbackResolver) Methods inherited from interface org.apache.sshd.openpgp.PGPPublicKeyExtractor
extractDSSPublicKey, extractECDSAPublicKey, extractECPublicKey, extractEdDSAPublicKey, extractPublicKey, extractRSAPublicKey, generatePublicKey
-
Method Details
-
resolve
default PublicKey resolve(org.apache.sshd.common.session.SessionContext session, String keyType, byte[] keyData, Map<String, String> headers) throws IOException, GeneralSecurityException- Specified by:
resolve
in interfaceorg.apache.sshd.common.config.keys.PublicKeyEntryResolver
- Throws:
IOException
GeneralSecurityException
-
resolveAuthorizedEntries
default List<PublicKey> resolveAuthorizedEntries(org.apache.sshd.common.session.SessionContext session, Collection<? extends org.apache.sshd.common.config.keys.PublicKeyEntry> entries, org.apache.sshd.common.config.keys.PublicKeyEntryResolver fallbackResolver) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException - Throws:
IOException
GeneralSecurityException
org.bouncycastle.openpgp.PGPException
-
loadMatchingAuthorizedEntries
default List<PublicKey> loadMatchingAuthorizedEntries(org.apache.sshd.common.session.SessionContext session, Collection<? extends org.apache.sshd.common.config.keys.PublicKeyEntry> entries) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException - Throws:
IOException
GeneralSecurityException
org.bouncycastle.openpgp.PGPException
-
loadMatchingKeyFingerprints
List<PublicKey> loadMatchingKeyFingerprints(org.apache.sshd.common.session.SessionContext session, Collection<String> fingerprints) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException - Throws:
IOException
GeneralSecurityException
org.bouncycastle.openpgp.PGPException
-