public class JksOptions extends KeyStoreOptions
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() |
String |
getType() |
JksOptions |
setPassword(String password)
Set the password for the key store
|
JksOptions |
setPath(String path)
Set the path to the key store
|
JksOptions |
setType(String type) |
JksOptions |
setValue(Buffer value)
Set the key store as a buffer
|
JsonObject |
toJson()
Convert to JSON
|
getPassword, getPath, getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyManagerFactory, keyManagerMapper
getTrustManagerFactory, trustManagerMapper
public JksOptions()
public JksOptions(JksOptions other)
other
- the options to copypublic JksOptions(JsonObject json)
json
- the JSONpublic String getType()
getType
in class KeyStoreOptions
public JksOptions setType(String type)
setType
in class KeyStoreOptions
public JksOptions setPassword(String password)
KeyStoreOptions
setPassword
in class KeyStoreOptions
password
- the passwordpublic JksOptions setPath(String path)
KeyStoreOptions
setPath
in class KeyStoreOptions
path
- the pathpublic JksOptions setValue(Buffer value)
KeyStoreOptions
setValue
in class KeyStoreOptions
value
- the key store as a bufferpublic JsonObject toJson()
public JksOptions copy()
copy
in interface KeyCertOptions
copy
in interface TrustOptions
copy
in class KeyStoreOptions
Copyright © 2020 Eclipse. All rights reserved.