Package anbxj
Class Channel_Properties
java.lang.Object
anbxj.Channel_Properties
Channel Properties: Represents the properties of a communication channel.
This class encapsulates settings related to a communication channel, including
channel type, role, host, port, cipher suites, and key store settings.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Channel_Properties.Constructor for Channel_Properties with specified channel settings.Constructor for Channel_Properties with specified channel settings and key store settings.Constructor for Channel_Properties with specified channel settings and key store settings map. -
Method Summary
Modifier and TypeMethodDescriptionGet the role of the communication channel.Get the channel settings for the communication channel.Get the channel type for the communication channel.String[]
getEnabledCipherSuites
(String[] enabled) Get the enabled cipher suites for the communication channel.getHost()
Get the host of the communication channel.Get the key store settings for the communication channel.int
getPort()
Get the port of the communication channel.Get channel SSL context.Check if the communication channel is an authenticated channel.Check if the communication channel is a secret channel.
-
Constructor Details
-
Channel_Properties
public Channel_Properties()Default constructor for Channel_Properties. -
Channel_Properties
Constructor for Channel_Properties with specified channel settings and key store settings map.- Parameters:
cs
- Channel settings for the communication channel.kss
- Crypto key store settings map.
-
Channel_Properties
Constructor for Channel_Properties with specified channel settings and key store settings.- Parameters:
cs
- Channel settings for the communication channel.kss
- Crypto key store settings.
-
Channel_Properties
Constructor for Channel_Properties with specified channel settings.- Parameters:
cs
- Channel settings for the communication channel.
-
-
Method Details
-
getChannelRole
Get the role of the communication channel.- Returns:
- Channel role.
-
getChannelSettings
Get the channel settings for the communication channel.- Returns:
- Channel settings.
-
getChannelType
Get the channel type for the communication channel.- Returns:
- Channel type.
-
getEnabledCipherSuites
Get the enabled cipher suites for the communication channel.- Parameters:
enabled
- Array of enabled cipher suites.- Returns:
- Enabled cipher suites.
-
getHost
Get the host of the communication channel.- Returns:
- Host name or IP address.
-
getKeyStoreSettings
Get the key store settings for the communication channel.- Returns:
- Crypto key store settings.
-
getPort
public int getPort()Get the port of the communication channel.- Returns:
- Port number.
-
getSSLContextAlgorithm
Get channel SSL context.- Returns:
- SSL context
-
isAuthenticatedChannel
Check if the communication channel is an authenticated channel.- Returns:
- True if the channel is authenticated, false otherwise.
-
isSecretChannel
Check if the communication channel is a secret channel.- Returns:
- True if the channel is a secret channel, false otherwise.
-