public class FileHostKeyCertificateProvider extends AbstractLoggingBean implements HostKeyCertificateProvider
log| Constructor and Description |
|---|
FileHostKeyCertificateProvider(Collection<? extends Path> files) |
FileHostKeyCertificateProvider(Path... files) |
FileHostKeyCertificateProvider(Path path) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Path> |
getPaths() |
OpenSshCertificate |
loadCertificate(SessionContext session,
String keyType) |
Iterable<OpenSshCertificate> |
loadCertificates(SessionContext session) |
getSimplifiedLoggerpublic FileHostKeyCertificateProvider(Path path)
public FileHostKeyCertificateProvider(Path... files)
public FileHostKeyCertificateProvider(Collection<? extends Path> files)
public Collection<? extends Path> getPaths()
public Iterable<OpenSshCertificate> loadCertificates(SessionContext session) throws IOException, GeneralSecurityException
loadCertificates in interface HostKeyCertificateProviderIOExceptionGeneralSecurityExceptionpublic OpenSshCertificate loadCertificate(SessionContext session, String keyType) throws IOException, GeneralSecurityException
loadCertificate in interface HostKeyCertificateProviderIOExceptionGeneralSecurityExceptionCopyright © 2018–2020 The Apache Software Foundation. All rights reserved.