Mercurial > 510Connectbot
diff src/ch/ethz/ssh2/AuthAgentCallback.java @ 298:ab3a99f11a36 ganymed
add ecdsa key support everywhere
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 29 Jul 2014 18:01:08 -0700 |
parents | 82bd20cb0d1d |
children |
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/AuthAgentCallback.java Tue Jul 29 16:43:12 2014 -0700 +++ b/src/ch/ethz/ssh2/AuthAgentCallback.java Tue Jul 29 18:01:08 2014 -0700 @@ -17,9 +17,9 @@ Map<String, byte[]> retrieveIdentities(); /** - * @param key 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> or <code>DSAPrivateKey</code> or <code>ECPrivateKey</code> + * containing a DSA or RSA or EC private key of + * the user in standard java key format. * @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 @@ -41,8 +41,8 @@ /** * @param publicKey byte blob containing the OpenSSH-format encoded public key * @return A <code>RSAPrivateKey</code> or <code>DSAPrivateKey</code> - * containing a DSA or RSA private key of - * the user in Trilead object format. + * containing a DSA or RSA or EC private key of + * the user in standard java key format. */ KeyPair getKeyPair(byte[] publicKey);