public class KeyStoreOptions extends Object
KeyStoreOptions
.
This extension sets the default type to the runtime keystore type (for compatibility, reasons)
plus it allows the configuration of password per key using setPasswordProtection(Map)
.
Constructor and Description |
---|
KeyStoreOptions()
Default constructor
|
KeyStoreOptions(JsonObject json)
Constructor to create an options from JSON
|
KeyStoreOptions(KeyStoreOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getPassword() |
Map<String,String> |
getPasswordProtection() |
String |
getPath() |
String |
getProvider() |
String |
getType() |
Buffer |
getValue() |
KeyStoreOptions |
putPasswordProtection(String alias,
String password) |
KeyStoreOptions |
setPassword(String password) |
KeyStoreOptions |
setPasswordProtection(Map<String,String> passwordProtection) |
KeyStoreOptions |
setPath(String path) |
KeyStoreOptions |
setProvider(String provider) |
KeyStoreOptions |
setType(String type) |
KeyStoreOptions |
setValue(Buffer value) |
public KeyStoreOptions()
public KeyStoreOptions(KeyStoreOptions other)
other
- the options to copypublic KeyStoreOptions(JsonObject json)
json
- the JSONpublic KeyStoreOptions setType(String type)
public KeyStoreOptions setProvider(String provider)
public KeyStoreOptions setPassword(String password)
public KeyStoreOptions setPath(String path)
public KeyStoreOptions setValue(Buffer value)
public KeyStoreOptions setPasswordProtection(Map<String,String> passwordProtection)
public String getType()
public String getProvider()
public String getPassword()
public String getPath()
public Buffer getValue()
public KeyStoreOptions putPasswordProtection(String alias, String password)
Copyright © 2021 Eclipse. All rights reserved.