public class PfxOptions extends KeyStoreOptionsBase
Constructor and Description |
---|
PfxOptions()
Default constructor
|
PfxOptions(JsonObject json)
Create options from JSON
|
PfxOptions(PfxOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
PfxOptions |
copy() |
PfxOptions |
setAlias(String alias)
Set the alias for a server certificate when the keystore has more than one.
|
PfxOptions |
setAliasPassword(String aliasPassword)
Set the password for the server certificate designated by
KeyStoreOptionsBase.getAlias() . |
PfxOptions |
setPassword(String password)
Set the password for the key store
|
PfxOptions |
setPath(String path)
Set the path to the key store
|
PfxOptions |
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 PfxOptions()
public PfxOptions(PfxOptions other)
other
- the options to copypublic PfxOptions(JsonObject json)
json
- the JSONpublic PfxOptions setPassword(String password)
KeyStoreOptionsBase
setPassword
in class KeyStoreOptionsBase
password
- the passwordpublic PfxOptions setPath(String path)
KeyStoreOptionsBase
setPath
in class KeyStoreOptionsBase
path
- the pathpublic PfxOptions setValue(Buffer value)
setValue
in class KeyStoreOptionsBase
value
- the key store as a bufferpublic PfxOptions setAlias(String alias)
KeyStoreOptionsBase
setAlias
in class KeyStoreOptionsBase
public PfxOptions setAliasPassword(String aliasPassword)
KeyStoreOptionsBase
KeyStoreOptionsBase.getAlias()
.setAliasPassword
in class KeyStoreOptionsBase
public PfxOptions copy()
copy
in interface KeyCertOptions
copy
in interface TrustOptions
copy
in class KeyStoreOptionsBase
public JsonObject toJson()
Copyright © 2024 Eclipse. All rights reserved.