Interface HostKeyCertificateProvider
-
- All Known Implementing Classes:
FileHostKeyCertificateProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HostKeyCertificateProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OpenSshCertificateloadCertificate(SessionContext session, java.lang.String keyType)java.lang.Iterable<OpenSshCertificate>loadCertificates(SessionContext session)
-
-
-
Method Detail
-
loadCertificates
java.lang.Iterable<OpenSshCertificate> loadCertificates(SessionContext session) throws java.io.IOException, java.security.GeneralSecurityException
- Throws:
java.io.IOExceptionjava.security.GeneralSecurityException
-
loadCertificate
default OpenSshCertificate loadCertificate(SessionContext session, java.lang.String keyType) throws java.io.IOException, java.security.GeneralSecurityException
- Throws:
java.io.IOExceptionjava.security.GeneralSecurityException
-
-