public interface SignatureGenerator
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<SshPublicKey> |
getPublicKeys()
List the public keys supported by this signature generator.
|
byte[] |
sign(SshPublicKey key,
java.lang.String signingAlgorithm,
byte[] data)
Sign the data using the private key of the public key provided.
|
byte[] sign(SshPublicKey key, java.lang.String signingAlgorithm, byte[] data) throws SshException
key - data - java.io.IOExceptionSshExceptionjava.util.Collection<SshPublicKey> getPublicKeys() throws java.io.IOException
java.io.IOExceptionCopyright © 2022. All rights reserved.