Class FileKeyPairProvider

All Implemented Interfaces:
KeyIdentityProvider, KeyPairProvider

public class FileKeyPairProvider extends AbstractResourceKeyPairProvider<Path>
This host key provider loads private keys from the specified files. The loading is lazy - i.e., a file is not loaded until it is actually required. Once required though, its loaded KeyPair result is cached and not re-loaded.