public class PfxOptions extends KeyStoreOptions
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() |
String |
getType() |
PfxOptions |
setPassword(String password)
Set the password for the key store
|
PfxOptions |
setPath(String path)
Set the path to the key store
|
PfxOptions |
setType(String type) |
PfxOptions |
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 PfxOptions()
public PfxOptions(PfxOptions other)
other
- the options to copypublic PfxOptions(JsonObject json)
json
- the JSONpublic JsonObject toJson()
public String getType()
getType
in class KeyStoreOptions
public PfxOptions setType(String type)
setType
in class KeyStoreOptions
public PfxOptions setPassword(String password)
KeyStoreOptions
setPassword
in class KeyStoreOptions
password
- the passwordpublic PfxOptions setValue(Buffer value)
KeyStoreOptions
setValue
in class KeyStoreOptions
value
- the key store as a bufferpublic PfxOptions setPath(String path)
KeyStoreOptions
setPath
in class KeyStoreOptions
path
- the pathpublic PfxOptions copy()
copy
in interface KeyCertOptions
copy
in interface TrustOptions
copy
in class KeyStoreOptions
Copyright © 2020 Eclipse. All rights reserved.