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, UNSUPPORTED -
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 PublicKeyresolve(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 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:
resolvein interfaceorg.apache.sshd.common.config.keys.PublicKeyEntryResolver- Throws:
IOExceptionGeneralSecurityException
-
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:
IOExceptionGeneralSecurityExceptionorg.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:
IOExceptionGeneralSecurityExceptionorg.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:
IOExceptionGeneralSecurityExceptionorg.bouncycastle.openpgp.PGPException
-