@@ -17,7 +17,7 @@ public class PrivateKeyConnectionInfo : ConnectionInfo, IDisposable
17
17
/// <summary>
18
18
/// Gets the key files used for authentication.
19
19
/// </summary>
20
- public ICollection < IHostAlgorithmsProvider > KeyFiles { get ; private set ; }
20
+ public ICollection < IPrivateKeySource > KeyFiles { get ; private set ; }
21
21
22
22
/// <summary>
23
23
/// Initializes a new instance of the <see cref="PrivateKeyConnectionInfo"/> class.
@@ -41,7 +41,7 @@ public PrivateKeyConnectionInfo(string host, string username, params PrivateKeyF
41
41
/// <param name="port">Connection port.</param>
42
42
/// <param name="username">Connection username.</param>
43
43
/// <param name="keyFiles">Connection key files.</param>
44
- public PrivateKeyConnectionInfo ( string host , int port , string username , params IHostAlgorithmsProvider [ ] keyFiles )
44
+ public PrivateKeyConnectionInfo ( string host , int port , string username , params IPrivateKeySource [ ] keyFiles )
45
45
: this ( host , port , username , ProxyTypes . None , string . Empty , 0 , string . Empty , string . Empty , keyFiles )
46
46
{
47
47
}
@@ -56,7 +56,7 @@ public PrivateKeyConnectionInfo(string host, int port, string username, params I
56
56
/// <param name="proxyHost">The proxy host.</param>
57
57
/// <param name="proxyPort">The proxy port.</param>
58
58
/// <param name="keyFiles">The key files.</param>
59
- public PrivateKeyConnectionInfo ( string host , int port , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , params IHostAlgorithmsProvider [ ] keyFiles )
59
+ public PrivateKeyConnectionInfo ( string host , int port , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , params IPrivateKeySource [ ] keyFiles )
60
60
: this ( host , port , username , proxyType , proxyHost , proxyPort , string . Empty , string . Empty , keyFiles )
61
61
{
62
62
}
@@ -72,7 +72,7 @@ public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTyp
72
72
/// <param name="proxyPort">The proxy port.</param>
73
73
/// <param name="proxyUsername">The proxy username.</param>
74
74
/// <param name="keyFiles">The key files.</param>
75
- public PrivateKeyConnectionInfo ( string host , int port , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , string proxyUsername , params IHostAlgorithmsProvider [ ] keyFiles )
75
+ public PrivateKeyConnectionInfo ( string host , int port , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , string proxyUsername , params IPrivateKeySource [ ] keyFiles )
76
76
: this ( host , port , username , proxyType , proxyHost , proxyPort , proxyUsername , string . Empty , keyFiles )
77
77
{
78
78
}
@@ -86,7 +86,7 @@ public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTyp
86
86
/// <param name="proxyHost">The proxy host.</param>
87
87
/// <param name="proxyPort">The proxy port.</param>
88
88
/// <param name="keyFiles">The key files.</param>
89
- public PrivateKeyConnectionInfo ( string host , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , params IHostAlgorithmsProvider [ ] keyFiles )
89
+ public PrivateKeyConnectionInfo ( string host , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , params IPrivateKeySource [ ] keyFiles )
90
90
: this ( host , DefaultPort , username , proxyType , proxyHost , proxyPort , string . Empty , string . Empty , keyFiles )
91
91
{
92
92
}
@@ -101,7 +101,7 @@ public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyTy
101
101
/// <param name="proxyPort">The proxy port.</param>
102
102
/// <param name="proxyUsername">The proxy username.</param>
103
103
/// <param name="keyFiles">The key files.</param>
104
- public PrivateKeyConnectionInfo ( string host , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , string proxyUsername , params IHostAlgorithmsProvider [ ] keyFiles )
104
+ public PrivateKeyConnectionInfo ( string host , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , string proxyUsername , params IPrivateKeySource [ ] keyFiles )
105
105
: this ( host , DefaultPort , username , proxyType , proxyHost , proxyPort , proxyUsername , string . Empty , keyFiles )
106
106
{
107
107
}
@@ -117,7 +117,7 @@ public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyTy
117
117
/// <param name="proxyUsername">The proxy username.</param>
118
118
/// <param name="proxyPassword">The proxy password.</param>
119
119
/// <param name="keyFiles">The key files.</param>
120
- public PrivateKeyConnectionInfo ( string host , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , string proxyUsername , string proxyPassword , params IHostAlgorithmsProvider [ ] keyFiles )
120
+ public PrivateKeyConnectionInfo ( string host , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , string proxyUsername , string proxyPassword , params IPrivateKeySource [ ] keyFiles )
121
121
: this ( host , DefaultPort , username , proxyType , proxyHost , proxyPort , proxyUsername , proxyPassword , keyFiles )
122
122
{
123
123
}
@@ -134,10 +134,10 @@ public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyTy
134
134
/// <param name="proxyUsername">The proxy username.</param>
135
135
/// <param name="proxyPassword">The proxy password.</param>
136
136
/// <param name="keyFiles">The key files.</param>
137
- public PrivateKeyConnectionInfo ( string host , int port , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , string proxyUsername , string proxyPassword , params IHostAlgorithmsProvider [ ] keyFiles )
137
+ public PrivateKeyConnectionInfo ( string host , int port , string username , ProxyTypes proxyType , string proxyHost , int proxyPort , string proxyUsername , string proxyPassword , params IPrivateKeySource [ ] keyFiles )
138
138
: base ( host , port , username , proxyType , proxyHost , proxyPort , proxyUsername , proxyPassword , new PrivateKeyAuthenticationMethod ( username , keyFiles ) )
139
139
{
140
- KeyFiles = new Collection < IHostAlgorithmsProvider > ( keyFiles ) ;
140
+ KeyFiles = new Collection < IPrivateKeySource > ( keyFiles ) ;
141
141
}
142
142
143
143
/// <summary>
0 commit comments