From 5b185e6d342a09a167623b27af9797b5a97920d0 Mon Sep 17 00:00:00 2001 From: Sad Lame Developer Date: Sun, 11 Aug 2019 19:54:03 +0900 Subject: [PATCH 1/7] PrivateKeyFile is an implementation of IPrivateKeySource --- .../Renci.SshNet.NET35.csproj | 5 +- .../Renci.SshNet.Silverlight.csproj | 3 ++ .../Renci.SshNet.Silverlight5.csproj | 3 ++ .../Renci.SshNet.UAP10.csproj | 3 ++ .../Renci.SshNet.WindowsPhone.csproj | 3 ++ .../Renci.SshNet.WindowsPhone8.csproj | 3 ++ src/Renci.SshNet/IPrivateKeySource.cs | 19 +++++++ src/Renci.SshNet/NetConfClient.cs | 4 +- .../PrivateKeyAuthenticationMethod.cs | 32 +++++------ src/Renci.SshNet/PrivateKeyConnectionInfo.cs | 54 +++++++++---------- src/Renci.SshNet/PrivateKeyFile.cs | 2 +- src/Renci.SshNet/ScpClient.cs | 4 +- src/Renci.SshNet/SftpClient.cs | 4 +- 13 files changed, 88 insertions(+), 51 deletions(-) create mode 100644 src/Renci.SshNet/IPrivateKeySource.cs diff --git a/src/Renci.SshNet.NET35/Renci.SshNet.NET35.csproj b/src/Renci.SshNet.NET35/Renci.SshNet.NET35.csproj index a6878d187..888118b35 100644 --- a/src/Renci.SshNet.NET35/Renci.SshNet.NET35.csproj +++ b/src/Renci.SshNet.NET35/Renci.SshNet.NET35.csproj @@ -308,6 +308,9 @@ IForwardedPort.cs + + IPrivateKeySource.cs + IRemotePathTransformation.cs @@ -971,7 +974,7 @@ - +