public class IgniteSslOptions extends Object
Constructor and Description |
---|
IgniteSslOptions()
Default constructor
|
IgniteSslOptions(IgniteSslOptions options)
Copy constructor
|
IgniteSslOptions(JsonObject options)
Constructor from JSON
|
Modifier and Type | Method and Description |
---|---|
String |
getKeyAlgorithm()
Gets algorithm that will be used to create a key manager.
|
String |
getKeyStoreFilePath()
Gets path to the key store file.
|
String |
getKeyStorePassword()
Gets key store password.
|
String |
getKeyStoreType()
Gets key store type used for context creation.
|
String |
getProtocol()
Gets protocol for secure transport.
|
String |
getTrustStoreFilePath()
Gets path to the trust store file.
|
String |
getTrustStorePassword()
Gets trust store password.
|
String |
getTrustStoreType()
Gets trust store type used for context creation.
|
boolean |
isTrustAll()
When using ssl, trust ALL certificates.
|
IgniteSslOptions |
setKeyAlgorithm(String keyAlgorithm)
Sets key manager algorithm that will be used to create a key manager.
|
IgniteSslOptions |
setKeyStoreFilePath(String keyStoreFilePath)
Sets path to the key store file.
|
IgniteSslOptions |
setKeyStorePassword(String keyStorePassword)
Sets key store password.
|
IgniteSslOptions |
setKeyStoreType(String keyStoreType)
Sets key store type used in context initialization.
|
IgniteSslOptions |
setProtocol(String protocol)
Sets protocol for secure transport.
|
IgniteSslOptions |
setTrustAll(boolean trustAll)
When using ssl, trust ALL certificates.
|
IgniteSslOptions |
setTrustStoreFilePath(String trustStoreFilePath)
Sets path to the trust store file.
|
IgniteSslOptions |
setTrustStorePassword(String trustStorePassword)
Sets trust store password.
|
IgniteSslOptions |
setTrustStoreType(String trustStoreType)
Sets trust store type used in context initialization.
|
org.apache.ignite.ssl.SslContextFactory |
toConfig()
Convert to IgniteConfiguration
|
JsonObject |
toJson()
Convert to JSON
|
public IgniteSslOptions()
public IgniteSslOptions(IgniteSslOptions options)
options
- the one to copypublic IgniteSslOptions(JsonObject options)
options
- the JSONpublic String getProtocol()
public IgniteSslOptions setProtocol(String protocol)
protocol
- SSL protocol name.public String getKeyAlgorithm()
public IgniteSslOptions setKeyAlgorithm(String keyAlgorithm)
keyAlgorithm
- Key algorithm name.public String getKeyStoreType()
public IgniteSslOptions setKeyStoreType(String keyStoreType)
keyStoreType
- Key store type.public String getKeyStoreFilePath()
public IgniteSslOptions setKeyStoreFilePath(String keyStoreFilePath)
keyStoreFilePath
- Path to key store file.public String getKeyStorePassword()
public IgniteSslOptions setKeyStorePassword(String keyStorePassword)
keyStorePassword
- Key store password.public String getTrustStoreType()
public IgniteSslOptions setTrustStoreType(String trustStoreType)
trustStoreType
- Trust store type.public String getTrustStoreFilePath()
public IgniteSslOptions setTrustStoreFilePath(String trustStoreFilePath)
trustStoreFilePath
- Path to the trust store file.public String getTrustStorePassword()
public IgniteSslOptions setTrustStorePassword(String trustStorePassword)
trustStorePassword
- Trust store password.public boolean isTrustAll()
public IgniteSslOptions setTrustAll(boolean trustAll)
trustAll
- Trust all flag.public JsonObject toJson()
public org.apache.ignite.ssl.SslContextFactory toConfig()
Copyright © 2020 Eclipse. All rights reserved.