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 |
setAlias(String alias)
Set the alias for a server certificate when the keystore has more than one.
|
JksOptions |
setAliasPassword(String aliasPassword)
Set the password for the server certificate designated by
KeyStoreOptionsBase.getAlias() . |
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
|
equals, getAlias, getAliasPassword, getKeyManagerFactory, getPassword, getPath, getProvider, getTrustManagerFactory, getType, getValue, keyManagerFactoryMapper, keyManagerMapper, loadKeyStore, setProvider, setType, trustManagerMapper
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap, wrap
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 setAlias(String alias)
KeyStoreOptionsBase
setAlias
in class KeyStoreOptionsBase
public JksOptions setAliasPassword(String aliasPassword)
KeyStoreOptionsBase
KeyStoreOptionsBase.getAlias()
.setAliasPassword
in class KeyStoreOptionsBase
public JksOptions copy()
copy
in interface KeyCertOptions
copy
in interface TrustOptions
copy
in class KeyStoreOptionsBase
public JsonObject toJson()
Copyright © 2024 Eclipse. All rights reserved.