Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.agent.KeyStore
public class KeyStore
extends java.lang.Object
Constructor Summary | |
|
Method Summary | |
boolean |
|
void |
|
void | |
boolean |
|
SshPublicKey |
|
String | |
KeyConstraints | |
Map | |
int |
|
boolean |
|
byte[] |
|
void |
|
int |
|
boolean |
|
public boolean addKey(SshPrivateKey prvkey, SshPublicKey pubkey, String description, KeyConstraints cs) throws IOException
- Parameters:
prvkey
-pubkey
-description
-cs
-
- Returns:
public void deleteAllKeys()
public boolean deleteKey(SshPublicKey pubkey, String description) throws IOException
- Parameters:
pubkey
-description
-
- Returns:
public Map getPublicKeys()
- Returns:
public boolean lock(String password) throws IOException
- Parameters:
password
-
- Returns:
public byte[] performHashAndSign(SshPublicKey pubkey, List forwardingNodes, byte[] data) throws KeyTimeoutException, InvalidSshKeyException, InvalidSshKeySignatureException
- Parameters:
pubkey
-forwardingNodes
-data
-
- Returns:
public void removeKeyStoreListener(KeyStoreListener listener)
- Parameters:
listener
-
public int size()
- Returns:
public boolean unlock(String password) throws IOException
- Parameters:
password
-
- Returns: