Top Fields Constructors Methods
org.apache.sshd.common.keyprovider

public Class FileHostKeyCertificateProvider

extends AbstractLoggingBean
implements HostKeyCertificateProvider
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.keyprovider.HostKeyCertificateProvider
Imports
java.io.IOException, java.nio.charset.StandardCharsets, java.nio.file.Files, .Path, java.security.GeneralSecurityException, .InvalidKeyException, .PublicKey, java.util.ArrayList, .Arrays, .Collection, .Collections, .List, org.apache.sshd.common.config.keys.OpenSshCertificate, .PublicKeyEntry, org.apache.sshd.common.session.SessionContext, org.apache.sshd.common.util.GenericUtils, .ValidateUtils, org.apache.sshd.common.util.logging.AbstractLoggingBean

Field Summary

Modifier and TypeField and Description
private final Collection<? extends Path>
Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
log

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public Collection<? extends Path>
public Iterable<OpenSshCertificate>
Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
debugdebugdebugdebugdebugerrorerrorerrorerrorerrorgetSimplifiedLoggerinfoinfowarnwarnwarnwarnwarnwarnwarnwarn

Field Detail

filesback to summary
private final Collection<? extends Path> files

Constructor Detail

FileHostKeyCertificateProviderback to summary
public FileHostKeyCertificateProvider(Path path)
FileHostKeyCertificateProviderback to summary
public FileHostKeyCertificateProvider(Path... files)
FileHostKeyCertificateProviderback to summary
public FileHostKeyCertificateProvider(Collection<? extends Path> files)

Method Detail

getPathsback to summary
public Collection<? extends Path> getPaths()
loadCertificatesback to summary
public Iterable<OpenSshCertificate> loadCertificates(SessionContext session) throws IOException, GeneralSecurityException

Implements org.apache.sshd.common.keyprovider.HostKeyCertificateProvider.loadCertificates.

Annotations
@Override