garydgregory commented on a change in pull request #60: VFS-609: VFS SFTP
doesn't support a private key as byte array
URL: https://github.com/apache/commons-vfs/pull/60#discussion_r278896812
##########
File path:
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/IdentityInfo.java
##########
@@ -100,4 +139,24 @@ public File getPublicKey() {
public byte[] getPassPhrase() {
return passPhrase;
}
+
+ /**
+ * Get private key bytes.
+ *
+ * @return private key
+ */
+ public byte[] getPrivateKeyBytes()
+ {
+ return privateKeyBytes;
+ }
+
+ /**
+ * Get public key bytes.
Review comment:
See above.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services