Class IgniteSslOptions
java.lang.Object
io.vertx.spi.cluster.ignite.IgniteSslOptions
- Author:
- Lukas Prettenthaler
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorIgniteSslOptions(JsonObject options) Constructor from JSONIgniteSslOptions(IgniteSslOptions options) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use vert.x ssl certificate options instead.Deprecated.Use vert.x jksKeyCertOptions.path instead.Deprecated.Use vert.x jksKeyCertOptions.password instead.Deprecated.Use vert.x ssl certificate options instead.Gets protocol for secure transport.Deprecated.Use vert.x jksTrustOptions.path instead.Deprecated.Use vert.x jksTrustOptions.password instead.Deprecated.Use vert.x jksTrustOptions instead.booleanWhen using ssl, trust ALL certificates.setJksKeyCertOptions(JksOptions jksKeyCertOptions) Sets JksKeyCertOptions that will be used for creating a secure socket layer.setJksTrustOptions(JksOptions jksTrustOptions) Sets JksTrustOptions that will be used for creating a secure socket layer.setKeyAlgorithm(String keyAlgorithm) Deprecated.Use vert.x ssl certificate options instead.setKeyStoreFilePath(String keyStoreFilePath) Deprecated.Use vert.x jksKeyCertOptions.path instead.setKeyStorePassword(String keyStorePassword) Deprecated.Use vert.x jksKeyCertOptions.password instead.setKeyStoreType(String keyStoreType) Deprecated.Use vert.x ssl certificate options instead.setPemKeyCertOptions(PemKeyCertOptions pemKeyCertOptions) Sets PemKeyCertOptions that will be used for creating a secure socket layer.setPemTrustOptions(PemTrustOptions pemTrustOptions) Sets PemTrustOptions that will be used for creating a secure socket layer.setPfxKeyCertOptions(PfxOptions pfxKeyCertOptions) Sets PfxKeyCertOptions that will be used for creating a secure socket layer.setPfxTrustOptions(PfxOptions pfxTrustOptions) Sets PfxTrustOptions that will be used for creating a secure socket layer.setProtocol(String protocol) Sets protocol for secure transport.setTrustAll(boolean trustAll) When using ssl, trust ALL certificates.setTrustStoreFilePath(String trustStoreFilePath) Deprecated.Use vert.x jksTrustOptions.path instead.setTrustStorePassword(String trustStorePassword) Deprecated.Use vert.x jksTrustOptions.password instead.setTrustStoreType(String trustStoreType) Deprecated.Use vert.x jksTrustOptions instead.toJson()Convert to JSON
-
Constructor Details
-
IgniteSslOptions
public IgniteSslOptions()Default constructor -
IgniteSslOptions
Copy constructor- Parameters:
options- the one to copy
-
IgniteSslOptions
-
-
Method Details
-
getProtocol
-
setProtocol
Sets protocol for secure transport.- Parameters:
protocol- SSL protocol name.- Returns:
- reference to this, for fluency
-
getKeyAlgorithm
Deprecated.Use vert.x ssl certificate options instead. It will be removed in vert.x 4.1Gets algorithm that will be used to create a key manager.- Returns:
- Key manager algorithm.
-
setKeyAlgorithm
Deprecated.Use vert.x ssl certificate options instead. It will be removed in vert.x 4.1Sets key manager algorithm that will be used to create a key manager. Notice that in most cased default value suites well, however, on Android platform this value need to be set to X509.- Parameters:
keyAlgorithm- Key algorithm name.- Returns:
- reference to this, for fluency
-
getKeyStoreType
Deprecated.Use vert.x ssl certificate options instead. It will be removed in vert.x 4.1Gets key store type used for context creation.- Returns:
- Key store type.
-
setKeyStoreType
Deprecated.Use vert.x ssl certificate options instead. It will be removed in vert.x 4.1Sets key store type used in context initialization.- Parameters:
keyStoreType- Key store type.- Returns:
- reference to this, for fluency
-
getKeyStoreFilePath
Deprecated.Use vert.x jksKeyCertOptions.path instead. It will be removed in vert.x 4.1Gets path to the key store file.- Returns:
- Path to key store file.
-
setKeyStoreFilePath
Deprecated.Use vert.x jksKeyCertOptions.path instead. It will be removed in vert.x 4.1Sets path to the key store file. This is a mandatory parameter since ssl context could not be initialized without key manager.- Parameters:
keyStoreFilePath- Path to key store file.- Returns:
- reference to this, for fluency
-
getKeyStorePassword
Deprecated.Use vert.x jksKeyCertOptions.password instead. It will be removed in vert.x 4.1Gets key store password.- Returns:
- Key store password.
-
setKeyStorePassword
Deprecated.Use vert.x jksKeyCertOptions.password instead. It will be removed in vert.x 4.1Sets key store password.- Parameters:
keyStorePassword- Key store password.- Returns:
- reference to this, for fluency
-
getTrustStoreType
Deprecated.Use vert.x jksTrustOptions instead. It will be removed in vert.x 4.1Gets trust store type used for context creation.- Returns:
- trust store type.
-
setTrustStoreType
Deprecated.Use vert.x jksTrustOptions instead. It will be removed in vert.x 4.1Sets trust store type used in context initialization.- Parameters:
trustStoreType- Trust store type.- Returns:
- reference to this, for fluency
-
getTrustStoreFilePath
Deprecated.Use vert.x jksTrustOptions.path instead. It will be removed in vert.x 4.1Gets path to the trust store file.- Returns:
- Path to the trust store file.
-
setTrustStoreFilePath
Deprecated.Use vert.x jksTrustOptions.path instead. It will be removed in vert.x 4.1Sets path to the trust store file.- Parameters:
trustStoreFilePath- Path to the trust store file.- Returns:
- reference to this, for fluency
-
getTrustStorePassword
Deprecated.Use vert.x jksTrustOptions.password instead. It will be removed in vert.x 4.1Gets trust store password.- Returns:
- Trust store password.
-
setTrustStorePassword
Deprecated.Use vert.x jksTrustOptions.password instead. It will be removed in vert.x 4.1Sets trust store password.- Parameters:
trustStorePassword- Trust store password.- Returns:
- reference to this, for fluency
-
getPemKeyCertOptions
-
setPemKeyCertOptions
Sets PemKeyCertOptions that will be used for creating a secure socket layer.- Parameters:
pemKeyCertOptions- Vertx PEM KeyCertOptions.- Returns:
- reference to this, for fluency
-
getPemTrustOptions
-
setPemTrustOptions
Sets PemTrustOptions that will be used for creating a secure socket layer.- Parameters:
pemTrustOptions- Vertx PEM TrustOptions.- Returns:
- reference to this, for fluency
-
getPfxKeyCertOptions
-
setPfxKeyCertOptions
Sets PfxKeyCertOptions that will be used for creating a secure socket layer.- Parameters:
pfxKeyCertOptions- Vertx PFX KeyCertOptions.- Returns:
- reference to this, for fluency
-
getPfxTrustOptions
-
setPfxTrustOptions
Sets PfxTrustOptions that will be used for creating a secure socket layer.- Parameters:
pfxTrustOptions- Vertx PFX TrustOptions.- Returns:
- reference to this, for fluency
-
getJksKeyCertOptions
-
setJksKeyCertOptions
Sets JksKeyCertOptions that will be used for creating a secure socket layer.- Parameters:
jksKeyCertOptions- Vertx JKS KeyCertOptions.- Returns:
- reference to this, for fluency
-
getJksTrustOptions
-
setJksTrustOptions
Sets JksTrustOptions that will be used for creating a secure socket layer.- Parameters:
jksTrustOptions- Vertx JKS TrustOptions.- Returns:
- reference to this, for fluency
-
isTrustAll
public boolean isTrustAll()When using ssl, trust ALL certificates. WARNING Trusting ALL certificates will open you up to potential security issues such as MITM attacks.- Returns:
- Trust all flag.
-
setTrustAll
When using ssl, trust ALL certificates. WARNING Trusting ALL certificates will open you up to potential security issues such as MITM attacks.- Parameters:
trustAll- Trust all flag.- Returns:
- reference to this, for fluency
-
toJson
-