public class KeyAgentIdentity extends Object implements PublicKeyIdentity
SshAgent to generate the identity signature| Constructor and Description |
|---|
KeyAgentIdentity(SshAgent agent,
PublicKey key,
String comment) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
KeyPair |
getKeyIdentity() |
Map.Entry<String,byte[]> |
sign(SessionContext session,
String algo,
byte[] data) |
String |
toString() |
public KeyPair getKeyIdentity()
getKeyIdentity in interface PublicKeyIdentitypublic String getComment()
public Map.Entry<String,byte[]> sign(SessionContext session, String algo, byte[] data) throws Exception
sign in interface PublicKeyIdentityExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.