|  | @@ -15,7 +15,7 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |          /// <summary>
 | 
	
		
			
				|  |  |          /// Gets the key files used for authentication.
 | 
	
		
			
				|  |  |          /// </summary>
 | 
	
		
			
				|  |  | -        public ICollection<PrivateKeyFile> KeyFiles { get; private set; }
 | 
	
		
			
				|  |  | +        public ICollection<IPrivateKeySource> KeyFiles { get; private set; }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          /// <summary>
 | 
	
		
			
				|  |  |          /// Initializes a new instance of the <see cref="PrivateKeyConnectionInfo"/> class.
 | 
	
	
		
			
				|  | @@ -40,7 +40,7 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |          /// <param name="port">Connection port.</param>
 | 
	
		
			
				|  |  |          /// <param name="username">Connection username.</param>
 | 
	
		
			
				|  |  |          /// <param name="keyFiles">Connection key files.</param>
 | 
	
		
			
				|  |  | -        public PrivateKeyConnectionInfo(string host, int port, string username, params PrivateKeyFile[] keyFiles)
 | 
	
		
			
				|  |  | +        public PrivateKeyConnectionInfo(string host, int port, string username, params IPrivateKeySource[] keyFiles)
 | 
	
		
			
				|  |  |              : this(host, port, username, ProxyTypes.None, string.Empty, 0, string.Empty, string.Empty, keyFiles)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -55,7 +55,7 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |          /// <param name="proxyHost">The proxy host.</param>
 | 
	
		
			
				|  |  |          /// <param name="proxyPort">The proxy port.</param>
 | 
	
		
			
				|  |  |          /// <param name="keyFiles">The key files.</param>
 | 
	
		
			
				|  |  | -        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, params PrivateKeyFile[] keyFiles)
 | 
	
		
			
				|  |  | +        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, params IPrivateKeySource[] keyFiles)
 | 
	
		
			
				|  |  |              : this(host, port, username, proxyType, proxyHost, proxyPort, string.Empty, string.Empty, keyFiles)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -71,7 +71,7 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |          /// <param name="proxyPort">The proxy port.</param>
 | 
	
		
			
				|  |  |          /// <param name="proxyUsername">The proxy username.</param>
 | 
	
		
			
				|  |  |          /// <param name="keyFiles">The key files.</param>
 | 
	
		
			
				|  |  | -        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, params PrivateKeyFile[] keyFiles)
 | 
	
		
			
				|  |  | +        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, params IPrivateKeySource[] keyFiles)
 | 
	
		
			
				|  |  |              : this(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername, string.Empty, keyFiles)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -85,7 +85,7 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |          /// <param name="proxyHost">The proxy host.</param>
 | 
	
		
			
				|  |  |          /// <param name="proxyPort">The proxy port.</param>
 | 
	
		
			
				|  |  |          /// <param name="keyFiles">The key files.</param>
 | 
	
		
			
				|  |  | -        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, params PrivateKeyFile[] keyFiles)
 | 
	
		
			
				|  |  | +        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, params IPrivateKeySource[] keyFiles)
 | 
	
		
			
				|  |  |              : this(host, DefaultPort, username, proxyType, proxyHost, proxyPort, string.Empty, string.Empty, keyFiles)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -100,7 +100,7 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |          /// <param name="proxyPort">The proxy port.</param>
 | 
	
		
			
				|  |  |          /// <param name="proxyUsername">The proxy username.</param>
 | 
	
		
			
				|  |  |          /// <param name="keyFiles">The key files.</param>
 | 
	
		
			
				|  |  | -        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, params PrivateKeyFile[] keyFiles)
 | 
	
		
			
				|  |  | +        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, params IPrivateKeySource[] keyFiles)
 | 
	
		
			
				|  |  |              : this(host, DefaultPort, username, proxyType, proxyHost, proxyPort, proxyUsername, string.Empty, keyFiles)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -116,7 +116,7 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |          /// <param name="proxyUsername">The proxy username.</param>
 | 
	
		
			
				|  |  |          /// <param name="proxyPassword">The proxy password.</param>
 | 
	
		
			
				|  |  |          /// <param name="keyFiles">The key files.</param>
 | 
	
		
			
				|  |  | -        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, params PrivateKeyFile[] keyFiles)
 | 
	
		
			
				|  |  | +        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, params IPrivateKeySource[] keyFiles)
 | 
	
		
			
				|  |  |              : this(host, DefaultPort, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword, keyFiles)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -133,10 +133,10 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |          /// <param name="proxyUsername">The proxy username.</param>
 | 
	
		
			
				|  |  |          /// <param name="proxyPassword">The proxy password.</param>
 | 
	
		
			
				|  |  |          /// <param name="keyFiles">The key files.</param>
 | 
	
		
			
				|  |  | -        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, params PrivateKeyFile[] keyFiles)
 | 
	
		
			
				|  |  | +        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, params IPrivateKeySource[] keyFiles)
 | 
	
		
			
				|  |  |              : base(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword, new PrivateKeyAuthenticationMethod(username, keyFiles))
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | -            KeyFiles = new Collection<PrivateKeyFile>(keyFiles);
 | 
	
		
			
				|  |  | +            KeyFiles = new Collection<IPrivateKeySource>(keyFiles);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          #region IDisposable Members
 | 
	
	
		
			
				|  | @@ -194,4 +194,4 @@ namespace Renci.SshNet
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          #endregion
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | +}
 |