java.lang.Object
org.eclipse.jgit.internal.signing.ssh.SshSigner
All Implemented Interfaces:
org.eclipse.jgit.lib.Signer

public class SshSigner extends Object implements org.eclipse.jgit.lib.Signer
A Signer to create SSH signatures.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canLocateSigningKey(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.GpgConfig config, org.eclipse.jgit.lib.PersonIdent committer, String signingKey, org.eclipse.jgit.transport.CredentialsProvider credentialsProvider)
     
    org.eclipse.jgit.lib.GpgSignature
    sign(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.GpgConfig config, byte[] data, org.eclipse.jgit.lib.PersonIdent committer, String signingKey, org.eclipse.jgit.transport.CredentialsProvider credentialsProvider)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.jgit.lib.Signer

    signObject
  • Constructor Details

    • SshSigner

      public SshSigner()
  • Method Details

    • sign

      public org.eclipse.jgit.lib.GpgSignature sign(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.GpgConfig config, byte[] data, org.eclipse.jgit.lib.PersonIdent committer, String signingKey, org.eclipse.jgit.transport.CredentialsProvider credentialsProvider) throws org.eclipse.jgit.api.errors.CanceledException, IOException, org.eclipse.jgit.api.errors.UnsupportedSigningFormatException
      Specified by:
      sign in interface org.eclipse.jgit.lib.Signer
      Throws:
      org.eclipse.jgit.api.errors.CanceledException
      IOException
      org.eclipse.jgit.api.errors.UnsupportedSigningFormatException
    • canLocateSigningKey

      public boolean canLocateSigningKey(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.GpgConfig config, org.eclipse.jgit.lib.PersonIdent committer, String signingKey, org.eclipse.jgit.transport.CredentialsProvider credentialsProvider) throws org.eclipse.jgit.api.errors.CanceledException
      Specified by:
      canLocateSigningKey in interface org.eclipse.jgit.lib.Signer
      Throws:
      org.eclipse.jgit.api.errors.CanceledException