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() |
PublicKey |
getPublicKey() |
byte[] |
sign(SessionContext session,
byte[] data) |
String |
toString() |
public PublicKey getPublicKey()
getPublicKey in interface PublicKeyIdentitypublic String getComment()
public byte[] sign(SessionContext session, byte[] data) throws Exception
sign in interface PublicKeyIdentityExceptionCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.