Klasse SslParameterSet

java.lang.Object
org.opentcs.access.SslParameterSet
Alle implementierten Schnittstellen:
Serializable

public class SslParameterSet extends Object implements Serializable
A set of parameters to be used for SSL-encrypted socket connections.
Siehe auch:
  • Felddetails

    • DEFAULT_KEYSTORE_TYPE

      public static final String DEFAULT_KEYSTORE_TYPE
      The default type used for truststore and keystore files.
      Siehe auch:
  • Konstruktordetails

    • SslParameterSet

      public SslParameterSet(@Nonnull String keystoreType, @Nullable File keystoreFile, @Nullable String keystorePassword, @Nullable File truststoreFile, @Nullable String truststorePassword)
      Creates a new instance.
      Parameter:
      keystoreType - The type used for keystore and truststore
      keystoreFile - The keystore file
      keystorePassword - The keystore file password
      truststoreFile - The truststore file
      truststorePassword - The truststore file password
  • Methodendetails

    • getKeystoreType

      @Nonnull public String getKeystoreType()
      Returns the keystoreType used to decrypt the keystore and truststore.
      Gibt zurück:
      The keystoreType used to decrypt the keystore and truststore
    • getKeystoreFile

      @Nullable public File getKeystoreFile()
      Returns the file path of the keystore file.
      Gibt zurück:
      The file path of the keystore file
    • getKeystorePassword

      @Nullable public String getKeystorePassword()
      Returns the password for the keystore file.
      Gibt zurück:
      The password for the keystore file
    • getTruststoreFile

      @Nullable public File getTruststoreFile()
      Returns the file path of the truststore file.
      Gibt zurück:
      The file path of the truststore file
    • getTruststorePassword

      @Nullable public String getTruststorePassword()
      Returns the password for the truststore file.
      Gibt zurück:
      The password for the truststore file