From 9bc0c22d7d8b36435ee1da918a1f0cdac1d58ad5 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Thu, 8 Oct 2015 09:51:39 -0700 Subject: 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. --- sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sshlib/src/main/java/com/trilead/ssh2/AuthAgentCallback.java') 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 retrieveIdentities(); /** - * @param pair A RSAPrivateKey or DSAPrivateKey - * containing a DSA or RSA private key of - * the user in Trilead object format. + * @param pair A RSAPrivateKey, ECPrivateKey, or + * DSAPrivateKey containing a DSA, EC, or RSA private + * and corresponding PublicKey. * @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 -- cgit v1.2.3