//
//  Licensed to the Apache Software Foundation (ASF) under one or more
//  contributor license agreements.  See the NOTICE file distributed with
//  this work for additional information regarding copyright ownership.
//  The ASF licenses this file to You under the Apache License, Version 2.0
//  (the "License"); you may not use this file except in compliance with
//  the License.  You may obtain a copy of the License at
//
//      https://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//

// Code generated by code-generation. DO NOT EDIT.

[cols="2,2a,2a,2a,4a"]
|===
|Name |Type |Default Value |Required |Description
|Name 4+|PLC4X (Proxy-Protocol)
|Code 4+|`plc4x`
|Maven Dependency 4+|

[subs=attributes+]
----
<dependency>
  <groupId>org.apache.plc4x</groupId>
  <artifactId>plc4j-driver-plc4x</artifactId>
  <version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tls`
|Supported Transports 4+|
 - `tls`
 - `tcp`
5+|Config options:
|`remote-connection-string` |STRING | | |URL-Encoded connection string to use on the proxy side to reach the given PLC.
|`request-timeout-ms` |INT |5000| |Default timeout for all types of requests.
|`username` |STRING | | |Username for authenticating against the PLC4X proxy server. Authentication is mandatory.
|`password` |STRING | | |Password for authenticating against the PLC4X proxy server. Authentication is mandatory.
5+|Transport config options:
5+|
+++
<h4>tls</h4>
+++
|`tls.verify` |BOOLEAN |true| |
|`tls.ignore-common-name` |BOOLEAN |false| |Accept a server certificate issued for a different host than the one connected to
|`tls.trust-store` |STRING | | |Key store of certificates to trust, instead of the JVM's public authorities
|`tls.trust-store-password` |STRING | | |Password of the trust store named by tls.trust-store
|`tls.trust-store-type` |STRING |PKCS12| |Type of the trust store named by tls.trust-store
|`tls.version` |STRING | | |TLS protocol version (e.g., 'TLSv1.2', 'TLSv1.3'). If not set, uses TLS 1.3 with fallback to TLS 1.2.
|`tls.keystore` |STRING | | |Path to keystore (PKCS12/JKS) containing the client certificate and private key for mutual TLS.
|`tls.keystore-password` |STRING | | |Password for the client keystore.
|`tls.keystore-type` |STRING | | |Keystore type (e.g., 'PKCS12', 'JKS'). Defaults to PKCS12.
|`tls.log-session-keys` |BOOLEAN |false| |Log TLS session keys to the audit log in SSLKEYLOGFILE format for Wireshark decryption.
|`tls.connect-timeout-ms` |INT |5000| |
|`tls.read-timeout-ms` |INT |0| |
|`tls.write-timeout-ms` |INT |0| |
|`tls.no-delay` |BOOLEAN |true| |
|`tls.keep-alive` |BOOLEAN |false| |
|`tls.send-buffer-size` |INT |81920| |
|`tls.receive-buffer-size` |INT |81920| |
|`tls.local-address` |STRING | | |
|`tls.local-port` |INT |0| |
5+|
+++
<h4>tcp</h4>
+++
|`tcp.connect-timeout-ms` |INT |5000| |
|`tcp.read-timeout-ms` |INT |0| |
|`tcp.write-timeout-ms` |INT |0| |
|`tcp.no-delay` |BOOLEAN |true| |
|`tcp.keep-alive` |BOOLEAN |false| |
|`tcp.send-buffer-size` |INT |81920| |
|`tcp.receive-buffer-size` |INT |81920| |
|`tcp.local-address` |STRING | | |
|`tcp.local-port` |INT |0| |
|===
