Class FileHostKeyCertificateProvider
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.keyprovider.FileHostKeyCertificateProvider
- All Implemented Interfaces:
HostKeyCertificateProvider
public class FileHostKeyCertificateProvider
extends AbstractLoggingBean
implements HostKeyCertificateProvider
-
Field Summary
FieldsFields inherited from class AbstractLoggingBean
log -
Constructor Summary
ConstructorsConstructorDescriptionFileHostKeyCertificateProvider(Path... files) FileHostKeyCertificateProvider(Collection<? extends Path> files) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Path> getPaths()loadCertificates(SessionContext session) Methods inherited from class AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HostKeyCertificateProvider
loadCertificate
-
Field Details
-
files
-
-
Constructor Details
-
FileHostKeyCertificateProvider
-
FileHostKeyCertificateProvider
-
FileHostKeyCertificateProvider
-
-
Method Details
-
getPaths
-
loadCertificates
public Iterable<OpenSshCertificate> loadCertificates(SessionContext session) throws IOException, GeneralSecurityException - Specified by:
loadCertificatesin interfaceHostKeyCertificateProvider- Throws:
IOExceptionGeneralSecurityException
-