Interface KeyPairProviderHolder
- All Known Subinterfaces:
ServerAuthenticationManager,ServerFactoryManager,ServerSession
- All Known Implementing Classes:
AbstractServerSession,ServerSessionImpl,SshServer
public interface KeyPairProviderHolder
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve theKeyPairProviderthat will be used to find the host key to use on the server side or the user key on the client side.voidsetKeyPairProvider(KeyPairProvider keyPairProvider)
-
Method Details
-
getKeyPairProvider
KeyPairProvider getKeyPairProvider()Retrieve theKeyPairProviderthat will be used to find the host key to use on the server side or the user key on the client side.- Returns:
- the
KeyPairProvider, nevernull
-
setKeyPairProvider
-