public class FileHostKeyCertificateProvider extends AbstractLoggingBean implements HostKeyCertificateProvider
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<? extends java.nio.file.Path> |
files |
log
Constructor and Description |
---|
FileHostKeyCertificateProvider(java.util.Collection<? extends java.nio.file.Path> files) |
FileHostKeyCertificateProvider(java.nio.file.Path... files) |
FileHostKeyCertificateProvider(java.nio.file.Path path) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends java.nio.file.Path> |
getPaths() |
java.lang.Iterable<OpenSshCertificate> |
loadCertificates(SessionContext session) |
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadCertificate
public FileHostKeyCertificateProvider(java.nio.file.Path path)
public FileHostKeyCertificateProvider(java.nio.file.Path... files)
public FileHostKeyCertificateProvider(java.util.Collection<? extends java.nio.file.Path> files)
public java.util.Collection<? extends java.nio.file.Path> getPaths()
public java.lang.Iterable<OpenSshCertificate> loadCertificates(SessionContext session) throws java.io.IOException, java.security.GeneralSecurityException
loadCertificates
in interface HostKeyCertificateProvider
java.io.IOException
java.security.GeneralSecurityException