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
|
getAlias, getAliasPassword, getKeyManagerFactory, getPassword, getPath, getProvider, getTrustManagerFactory, getType, getValue, keyManagerMapper, loadKeyStore, setProvider, setType, trustManagerMapperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrapwrappublic JksOptions()
public JksOptions(JksOptions other)
other - the options to copypublic JksOptions(JsonObject json)
json - the JSONpublic JksOptions setPassword(String password)
KeyStoreOptionsBasesetPassword in class KeyStoreOptionsBasepassword - the passwordpublic JksOptions setPath(String path)
KeyStoreOptionsBasesetPath in class KeyStoreOptionsBasepath - the pathpublic JksOptions setValue(Buffer value)
setValue in class KeyStoreOptionsBasevalue - the key store as a bufferpublic JksOptions setAlias(String alias)
KeyStoreOptionsBasesetAlias in class KeyStoreOptionsBasepublic JksOptions setAliasPassword(String aliasPassword)
KeyStoreOptionsBaseKeyStoreOptionsBase.getAlias().setAliasPassword in class KeyStoreOptionsBasepublic JksOptions copy()
copy in interface KeyCertOptionscopy in interface TrustOptionscopy in class KeyStoreOptionsBasepublic JsonObject toJson()
Copyright © 2022 Eclipse. All rights reserved.