Mercurial > 510Connectbot
comparison 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 |
comparison
equal
deleted
inserted
replaced
297:c1f929cb3dd0 | 298:ab3a99f11a36 |
---|---|
15 * @return array of blobs containing the OpenSSH-format encoded public keys | 15 * @return array of blobs containing the OpenSSH-format encoded public keys |
16 */ | 16 */ |
17 Map<String, byte[]> retrieveIdentities(); | 17 Map<String, byte[]> retrieveIdentities(); |
18 | 18 |
19 /** | 19 /** |
20 * @param key A <code>RSAPrivateKey</code> or <code>DSAPrivateKey</code> | 20 * @param pair A <code>RSAPrivateKey</code> or <code>DSAPrivateKey</code> or <code>ECPrivateKey</code> |
21 * containing a DSA or RSA private key of | 21 * containing a DSA or RSA or EC private key of |
22 * the user in Trilead object format. | 22 * the user in standard java key format. |
23 * @param comment comment associated with this key | 23 * @param comment comment associated with this key |
24 * @param confirmUse whether to prompt before using this key | 24 * @param confirmUse whether to prompt before using this key |
25 * @param lifetime lifetime in seconds for key to be remembered | 25 * @param lifetime lifetime in seconds for key to be remembered |
26 * @return success or failure | 26 * @return success or failure |
27 */ | 27 */ |
39 boolean removeAllIdentities(); | 39 boolean removeAllIdentities(); |
40 | 40 |
41 /** | 41 /** |
42 * @param publicKey byte blob containing the OpenSSH-format encoded public key | 42 * @param publicKey byte blob containing the OpenSSH-format encoded public key |
43 * @return A <code>RSAPrivateKey</code> or <code>DSAPrivateKey</code> | 43 * @return A <code>RSAPrivateKey</code> or <code>DSAPrivateKey</code> |
44 * containing a DSA or RSA private key of | 44 * containing a DSA or RSA or EC private key of |
45 * the user in Trilead object format. | 45 * the user in standard java key format. |
46 */ | 46 */ |
47 KeyPair getKeyPair(byte[] publicKey); | 47 KeyPair getKeyPair(byte[] publicKey); |
48 | 48 |
49 /** | 49 /** |
50 * @return | 50 * @return |