diff options
author | Kenny Root <kenny@the-b.org> | 2015-07-24 16:13:51 -0700 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2015-07-24 16:13:51 -0700 |
commit | d3c4f49d68ba97f43aacbe86d4ece7546eee4f15 (patch) | |
tree | 6cfe6093f69737af10bc5437acc10942795f2b57 /app/src/main/java/com/trilead/ssh2/AuthAgentCallback.java | |
parent | 739337624a5e69221a998cf10b1fd34fcc5ecd2d (diff) | |
parent | 571d61b6b55bc3eb9540e17973d93cc15b22da23 (diff) | |
download | connectbot-d3c4f49d68ba97f43aacbe86d4ece7546eee4f15.tar.gz connectbot-d3c4f49d68ba97f43aacbe86d4ece7546eee4f15.tar.bz2 connectbot-d3c4f49d68ba97f43aacbe86d4ece7546eee4f15.zip |
Merge pull request #105 from kruton/master
Update to library-based build
Diffstat (limited to 'app/src/main/java/com/trilead/ssh2/AuthAgentCallback.java')
-rw-r--r-- | app/src/main/java/com/trilead/ssh2/AuthAgentCallback.java | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/app/src/main/java/com/trilead/ssh2/AuthAgentCallback.java b/app/src/main/java/com/trilead/ssh2/AuthAgentCallback.java deleted file mode 100644 index 7fe270b..0000000 --- a/app/src/main/java/com/trilead/ssh2/AuthAgentCallback.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.trilead.ssh2; - -import java.security.KeyPair; -import java.util.Map; - -/** - * AuthAgentCallback. - * - * @author Kenny Root - * @version $Id$ - */ -public interface AuthAgentCallback { - - /** - * @return array of blobs containing the OpenSSH-format encoded public keys - */ - 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 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 - * @return success or failure - */ - boolean addIdentity(KeyPair pair, String comment, boolean confirmUse, int lifetime); - - /** - * @param publicKey byte blob containing the OpenSSH-format encoded public key - * @return success or failure - */ - boolean removeIdentity(byte[] publicKey); - - /** - * @return success or failure - */ - boolean removeAllIdentities(); - - /** - * @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. - */ - KeyPair getKeyPair(byte[] publicKey); - - /** - * @return - */ - boolean isAgentLocked(); - - /** - * @param lockPassphrase - */ - boolean setAgentLock(String lockPassphrase); - - /** - * @param unlockPassphrase - * @return - */ - boolean requestAgentUnlock(String unlockPassphrase); -} |