Class CertificateStoreConfiguration
- java.lang.Object
-
- org.jivesoftware.openfire.keystore.CertificateStoreConfiguration
-
public class CertificateStoreConfiguration extends Object
Certificate stores are configured using a defined set of properties. This is a wrapper class for all of them. Instances of this class are immutable and safe for use by multiple concurrent threads.- Author:
- Guus der Kinderen, guus.der.kinderen@gmail.com
-
-
Constructor Summary
Constructors Constructor Description CertificateStoreConfiguration(String type, File file, char[] password, File backupDirectory)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
File
getBackupDirectory()
File
getFile()
char[]
getPassword()
String
getType()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
CertificateStoreConfiguration
public CertificateStoreConfiguration(String type, File file, char[] password, File backupDirectory)
Creates a new instance.- Parameters:
type
- The store type (jks, jceks, pkcs12, etc). Cannot be null or an empty string.file
- The file-system based representation of the store (cannot be null).password
- the password used to check the integrity of the store, the password used to unlock the store, or null.backupDirectory
- the directory in which the backup of the original keystore should be saved
-
-