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 Detail

      • loadCertificates

        java.lang.Iterable<OpenSshCertificate> loadCertificates​(SessionContext session)
                                                         throws java.io.IOException,
                                                                java.security.GeneralSecurityException
        Throws:
        java.io.IOException
        java.security.GeneralSecurityException
      • loadCertificate

        default OpenSshCertificate loadCertificate​(SessionContext session,
                                                   java.lang.String keyType)
                                            throws java.io.IOException,
                                                   java.security.GeneralSecurityException
        Throws:
        java.io.IOException
        java.security.GeneralSecurityException