Top Description Fields Constructors Methods
org.eclipse.jgit.internal.signing.ssh

public final Class SigningDatabase

extends Object
Class Inheritance
Imports
org.eclipse.jgit.signing.ssh.CachingSigningKeyDatabase, .SigningKeyDatabase

A global SigningKeyDatabase instance.

Field Summary

Modifier and TypeField and Description
private static SigningKeyDatabase

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static synchronized SigningKeyDatabase

Returns:

the global SigningKeyDatabase
getInstance
()

Obtains the current instance.

public static synchronized SigningKeyDatabase

Returns:

the previously set SigningKeyDatabase
setInstance
(SigningKeyDatabase
to set; if null a default database using the OpenSSH allowed signers file and the OpenSSH revocation list mechanism is used.
database
)

Sets the global SigningKeyDatabase.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static SigningKeyDatabase INSTANCE

Constructor Detail

SigningDatabaseback to summary
private SigningDatabase()

Method Detail

getInstanceback to summary
public static synchronized SigningKeyDatabase getInstance()

Obtains the current instance.

Returns:SigningKeyDatabase

the global SigningKeyDatabase

setInstanceback to summary
public static synchronized SigningKeyDatabase setInstance(SigningKeyDatabase database)

Sets the global SigningKeyDatabase.

Parameters
database:SigningKeyDatabase

to set; if null a default database using the OpenSSH allowed signers file and the OpenSSH revocation list mechanism is used.

Returns:SigningKeyDatabase

the previously set SigningKeyDatabase