public class JksOptions extends KeyStoreOptionsBase
Constructor and Description |
---|
JksOptions()
Default constructor
|
JksOptions(JksOptions other)
Copy constructor
|
JksOptions(JsonObject json)
Create options from JSON
|
Modifier and Type | Method and Description |
---|---|
JksOptions |
copy() |
JksOptions |
setPassword(String password)
Set the password for the key store
|
JksOptions |
setPath(String path)
Set the path to the key store
|
JksOptions |
setValue(Buffer value)
Set the key store as a buffer
|
JsonObject |
toJson()
Convert to JSON
|
getKeyManagerFactory, getPassword, getPath, getProvider, getTrustManagerFactory, getType, getValue, keyManagerMapper, loadKeyStore, setProvider, setType, trustManagerMapper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
wrap
public JksOptions()
public JksOptions(JksOptions other)
other
- the options to copypublic JksOptions(JsonObject json)
json
- the JSONpublic JksOptions setPassword(String password)
KeyStoreOptionsBase
setPassword
in class KeyStoreOptionsBase
password
- the passwordpublic JksOptions setPath(String path)
KeyStoreOptionsBase
setPath
in class KeyStoreOptionsBase
path
- the pathpublic JksOptions setValue(Buffer value)
setValue
in class KeyStoreOptionsBase
value
- the key store as a bufferpublic JksOptions copy()
copy
in interface KeyCertOptions
copy
in interface TrustOptions
copy
in class KeyStoreOptionsBase
public JsonObject toJson()
Copyright © 2021 Eclipse. All rights reserved.