Interface SignatureGenerator

All Known Implementing Classes:
SshCertificate, SshKeyPair

public interface SignatureGenerator
Provides a callback when a private key signature is required. This is suitable for use when you do not have direct access to the private key, but know its public key and have access to some mechanism that enables you to request a signature from the corresponding private key (such as an sshagent).
  • Method Summary

    Modifier and Type
    Method
    Description
    List the public keys supported by this signature generator.
    byte[]
    sign(SshPublicKey key, String signingAlgorithm, byte[] data)
    Sign the data using the private key of the public key provided.