aboutsummaryrefslogtreecommitdiffstats
path: root/sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-10-08 09:51:39 -0700
committerKenny Root <kenny@the-b.org>2015-10-08 11:24:45 -0700
commit9bc0c22d7d8b36435ee1da918a1f0cdac1d58ad5 (patch)
tree77ec3e1b2118d6dac9dec001bcbe56993a0c6b87 /sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java
parentd77a5c3bb74e27c7b5e50a5898eedecc0b5c8a8b (diff)
downloadsshlib-9bc0c22d7d8b36435ee1da918a1f0cdac1d58ad5.tar.gz
sshlib-9bc0c22d7d8b36435ee1da918a1f0cdac1d58ad5.tar.bz2
sshlib-9bc0c22d7d8b36435ee1da918a1f0cdac1d58ad5.zip
Add mentions of EC keys where DSA and RSA are mentioned
EC keys have been supported by this library for a while, so the documentation should be updated to reflect that fact.
Diffstat (limited to 'sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java')
-rw-r--r--sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java b/sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java
index 96f2d07..17dcbb4 100644
--- a/sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java
+++ b/sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java
@@ -17,9 +17,9 @@ public interface AuthAgentCallback {
Map<String,byte[]> retrieveIdentities();
/**
- * @param pair A <code>RSAPrivateKey</code> or <code>DSAPrivateKey</code>
- * containing a DSA or RSA private key of
- * the user in Trilead object format.
+ * @param pair A <code>RSAPrivateKey</code>, <code>ECPrivateKey</code>, or
+ * <code>DSAPrivateKey</code> containing a DSA, EC, or RSA private
+ * and corresponding <code>PublicKey</code>.
* @param comment comment associated with this key
* @param confirmUse whether to prompt before using this key
* @param lifetime lifetime in seconds for key to be remembered