Module org.eclipse.jgit.ssh.apache
Class SigningDatabase
java.lang.Object
org.eclipse.jgit.internal.signing.ssh.SigningDatabase
A global
SigningKeyDatabase instance.-
Method Summary
Modifier and TypeMethodDescriptionstatic SigningKeyDatabaseObtains the current instance.static SigningKeyDatabasesetInstance(SigningKeyDatabase database) Sets the globalSigningKeyDatabase.
-
Method Details
-
getInstance
Obtains the current instance.- Returns:
- the global
SigningKeyDatabase
-
setInstance
Sets the globalSigningKeyDatabase.- Parameters:
database- to set; ifnulla default database using the OpenSSH allowed signers file and the OpenSSH revocation list mechanism is used.- Returns:
- the previously set
SigningKeyDatabase
-