KeyStoreConfig

final class KeyStoreConfig

Configuration for a keystore.

A key store must either provide a file path, or a data String.

Either key store path or data must be defined, but not both.

Value Params
data

The data to load the key store file from.

filePath

The path of the key store file.

isFileOnClasspath

true if the file is on the classpath, false otherwise.

password

The password to use to load the key store file, if the file is password protected.

storeType

The store type. Defaults to the platform default store type (ie, JKS).

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String
Definition Classes
Any
def withData(data: Option[String]): KeyStoreConfig

Disables filePath – only one of those can be used at any given time.

Disables filePath – only one of those can be used at any given time.

def withFileOnClassPath(isFileOnClasspath: Boolean): KeyStoreConfig
def withFilePath(filePath: Option[String]): KeyStoreConfig

Disables data – only one of those can be used at any given time.

Disables data – only one of those can be used at any given time.

def withPassword(value: Option[String]): KeyStoreConfig
def withStoreType(value: String): KeyStoreConfig

Concrete fields

val data: Option[String]
val filePath: Option[String]
val isFileOnClasspath: Boolean
val password: Option[String]
val storeType: String