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
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
-
Constructor Summary
Constructors Constructor Description FileHostKeyCertificateProvider(Path path)
FileHostKeyCertificateProvider(Path... files)
FileHostKeyCertificateProvider(Collection<? extends Path> files)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends Path>
getPaths()
Iterable<OpenSshCertificate>
loadCertificates(SessionContext session)
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.keyprovider.HostKeyCertificateProvider
loadCertificate
-
-
-
-
Constructor Detail
-
FileHostKeyCertificateProvider
public FileHostKeyCertificateProvider(Path path)
-
FileHostKeyCertificateProvider
public FileHostKeyCertificateProvider(Path... files)
-
FileHostKeyCertificateProvider
public FileHostKeyCertificateProvider(Collection<? extends Path> files)
-
-
Method Detail
-
getPaths
public Collection<? extends Path> getPaths()
-
loadCertificates
public Iterable<OpenSshCertificate> loadCertificates(SessionContext session) throws IOException, GeneralSecurityException
- Specified by:
loadCertificates
in interfaceHostKeyCertificateProvider
- Throws:
IOException
GeneralSecurityException
-
-