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