1using System.Collections.Generic;
2using System.Threading.Tasks;
23 this.TrustClientCertificates =
false;
40 this.TrustClientCertificates = TrustCertificates;
46 [Page(7,
"Configuration")]
47 [Header(41,
"Port Number:")]
48 [ToolTip(106,
"mTLS-configuration specific for this port number.")]
50 [Text(
TextPosition.AfterField, 63,
"Note: Changes will take effect after broker has been restarted.")]
57 [Page(7,
"Configuration")]
58 [Header(14,
"Client Certificates (mTLS):")]
59 [ToolTip(15,
"How to allow clients authenticate themselves using X.509 certificates.")]
61 [Option(
ClientCertificates.NotUsed, 16,
"Client certificates are not used, and will not be requested.")]
62 [Option(
ClientCertificates.Optional, 17,
"Client certificates are requested, but not required.")]
63 [Option(
ClientCertificates.Required, 18,
"Client certificates are requested, and required.")]
69 [Page(7,
"Configuration")]
70 [Header(19,
"Trust client certificates.")]
71 [ToolTip(20,
"If client certificates should be trusted, even if they don't validate.")]
103 LinkedList<Parameter> Parameters =
new LinkedList<Parameter>();
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
async Task< Namespace > GetNamespaceAsync(string Name)
Gets the namespace object, given its name, if available.
Contains information about a namespace in a language.
Task< LanguageString > GetStringAsync(int Id)
Gets the string object, given its ID, if available.
Abstract base class for gateway configuration nodes.
virtual INode Parent
Parent Node, or null if a root node.
GatewayConfigSource Source
Source hosting the node.
Data source mirroring the Gateway.config file.
mTLS-configuration for a specific port number.
override async Task< IEnumerable< Parameter > > GetDisplayableParametersAsync(Language Language, RequestOrigin Caller)
Gets displayable parameters.
MTlsPort(GatewayConfigSource Source, WebServer Parent, int PortNumber, ClientCertificates ClientCertificates, bool TrustCertificates)
References a port number.
bool TrustClientCertificates
If certificates are to be trusted, or if they are required to be valid.
int PortNumber
Port number
override string NodeId
ID of node.
override Task< bool > AcceptsParentAsync(INode Parent)
If the node accepts a presumptive parent, i.e. can be added to that parent (if that parent accepts th...
MTlsPort()
mTLS-configuration for a specific port number.
override Task< string > GetTypeNameAsync(Language Language)
Gets the type name of the node.
ClientCertificates ClientCertificates
mTLS-configuration
Settings for the Web Server.
Boolean-valued parameter.
Tokens available in request.
Interface for nodes that are published through the concentrator interface.
ClientCertificates
Client Certificate Options
TextPosition
Where the instructions are to be place.