public interface SshPrivateKey
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm()
Get the private key algorithm used.
|
byte[] |
sign(byte[] data)
Sign the data using this private key.
|
java.lang.String getAlgorithm()
SshConfiguration.PUBLIC_KEY_SSHDSA,
SshConfiguration.PUBLIC_KEY_SSHRSAbyte[] sign(byte[] data)
throws SshException
data - SshExceptionCopyright © 2018. All rights reserved.