Package org.eclipse.hono.config
Interface GenericOptions
public interface GenericOptions
Generic configuration options shared by clients and server components.
-
Method Summary
Modifier and TypeMethodDescriptioncertPath()
Gets the absolute path to the PEM file containing the X.509 certificate chain for the RSA private key that should be used for authentication to peers.Get the specified format of the key files.keyPath()
Gets the absolute path to the PEM file containing the RSA private key that will be used for authentication to peers.Gets the password for the key store containing the private key and certificate chain that should be used for authentication to peers.Gets the absolute path to the key store containing the private key and certificate chain that will be used for authentication to peers.Gets the character separating the segments of target addresses.Gets the secure protocols that are enabled for TLS connections.Gets the names of the cipher suites that may be used in TLS connections.Get the specified format of the trust store.Gets the password for accessing the key store containing the certificates of trusted CAs.Gets the path to the key store to load certificates of trusted CAs from.
-
Method Details
-
pathSeparator
Gets the character separating the segments of target addresses.- Returns:
- The separator.
-
trustStorePath
Gets the path to the key store to load certificates of trusted CAs from.- Returns:
- The absolute path.
-
trustStorePassword
Gets the password for accessing the key store containing the certificates of trusted CAs.- Returns:
- The password.
-
keyStorePath
Gets the absolute path to the key store containing the private key and certificate chain that will be used for authentication to peers.- Returns:
- The path.
-
keyStorePassword
Gets the password for the key store containing the private key and certificate chain that should be used for authentication to peers.- Returns:
- The password.
-
certPath
Gets the absolute path to the PEM file containing the X.509 certificate chain for the RSA private key that should be used for authentication to peers.- Returns:
- The path or
null
if no path has been set.
-
keyPath
Gets the absolute path to the PEM file containing the RSA private key that will be used for authentication to peers.- Returns:
- The path or
null
if no path has been set.
-
trustStoreFormat
Optional<FileFormat> trustStoreFormat()Get the specified format of the trust store.- Returns:
- The format or
null
if auto-detection should be tried.
-
keyFormat
Optional<FileFormat> keyFormat()Get the specified format of the key files.- Returns:
- The format or
null
if auto-detection should be tried.
-
secureProtocols
Gets the secure protocols that are enabled for TLS connections.By default, only TLSv1.2 and TLSv1.3 are enabled. Please refer to the vert.x documentation for a list of supported values.
- Returns:
- The enabled protocols in order of preference.
-
supportedCipherSuites
Gets the names of the cipher suites that may be used in TLS connections.An empty list indicates that all cipher suites supported by the JVM can be used. This is also the default.
Please refer to JSSE Cipher Suite Names for a list of supported cipher suite names.
- Returns:
- The supported cipher suites in order of preference.
-