Engage Engine API
1.251.9091
|
#include <ConfigurationObjects.h>
Inherits AppConfigurationObjects::ConfigurationObjectBase.
Public Types | |
enum | RpProtocol_t { rppTlsTcp = 0 , rppTlsWs = 1 , rppInvalid = -1 } |
RP protocol enum. More... | |
Public Member Functions | |
void | clear () |
bool | matches (const Rallypoint &other) |
![]() | |
virtual void | initForDocumenting () |
virtual std::string | toString () |
virtual bool | isDocumenting () const |
Public Attributes | |
NetworkAddress | host |
This is the host address for the Engine to connect to the RallyPoint service. | |
std::string | certificate |
This is the X509 certificate to use for mutual authentication. | |
std::string | certificateKey |
This is the private key used to generate the X509 certificate. | |
bool | verifyPeer |
[Optional, Default true] Indicates whether the connection peer is to be verified by checking the validaity of its X.509 certificate. | |
bool | allowSelfSignedCertificate |
[Optional, Default false] Allows the Rallypoint to accept self-signed certificates from the far-end | |
std::vector< std::string > | caCertificates |
[Optional] A vector of certificates (raw content, file names, or certificate store elements) used to verify far-end X.509 certificates. | |
int | transactionTimeoutMs |
[Optional, Default 10000] Number of milliseconds that a transaction may take before the link is considered broken. | |
bool | disableMessageSigning |
[Optional, Default false] Indicates whether to forego ECSDA signing of control-plane messages. | |
int | connectionTimeoutSecs |
[Optional, Default: 5] Connection timeout in seconds to the RP | |
TcpNetworkTxOptions | tcpTxOptions |
[Optional] Tx options for the TCP link | |
std::string | sni |
[Optional] A user-defined string sent as the Server Name Indication (SNI) field in the TLS setup. Be aware that this data is sent in the clear in the client hello message. | |
RpProtocol_t | protocol |
[Optional, Default: rppTlsTcp] Specifies the protocol to be used for the Rallypoint connection. See RpProtocol_t for all protocol types | |
std::string | path |
[Optional, Default: ""] Path to use for the RP connection (only used for WebSocket) | |
std::string | additionalProtocols |
[Optional, Default: ""] Additional protocols to use for the Rallypoint connection (only used for WebSocket) | |
![]() | |
nlohmann::json | _attached |
Additional Inherited Members | |
![]() | |
bool | _documenting |
Helper C++ class to serialize and de-serialize Rallypoint JSON
Example:
Definition at line 2754 of file ConfigurationObjects.h.
RP protocol enum.
Enumerator | |
---|---|
rppTlsTcp | [Default] TLS over TCP |
rppTlsWs | WebSocket over TLS. |
rppInvalid | Invalid. |
Definition at line 2764 of file ConfigurationObjects.h.
|
inline |
Definition at line 2857 of file ConfigurationObjects.h.
|
inline |
Definition at line 2862 of file ConfigurationObjects.h.
|
inline |
Definition at line 2879 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Rallypoint::additionalProtocols |
[Optional, Default: ""] Additional protocols to use for the Rallypoint connection (only used for WebSocket)
Definition at line 2854 of file ConfigurationObjects.h.
bool AppConfigurationObjects::Rallypoint::allowSelfSignedCertificate |
[Optional, Default false] Allows the Rallypoint to accept self-signed certificates from the far-end
Definition at line 2816 of file ConfigurationObjects.h.
std::vector<std::string> AppConfigurationObjects::Rallypoint::caCertificates |
[Optional] A vector of certificates (raw content, file names, or certificate store elements) used to verify far-end X.509 certificates.
Definition at line 2821 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Rallypoint::certificate |
This is the X509 certificate to use for mutual authentication.
The full contents of the cert can be specified or the file path to where the cert is located can be specified by using an @ replacement string e.g
Definition at line 2793 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Rallypoint::certificateKey |
This is the private key used to generate the X509 certificate.
The full contents of the key can be specified or the file path to where the key is located can be specified by using an @ replacement string e.g
Definition at line 2806 of file ConfigurationObjects.h.
int AppConfigurationObjects::Rallypoint::connectionTimeoutSecs |
[Optional, Default: 5] Connection timeout in seconds to the RP
Definition at line 2834 of file ConfigurationObjects.h.
bool AppConfigurationObjects::Rallypoint::disableMessageSigning |
[Optional, Default false] Indicates whether to forego ECSDA signing of control-plane messages.
Definition at line 2831 of file ConfigurationObjects.h.
NetworkAddress AppConfigurationObjects::Rallypoint::host |
This is the host address for the Engine to connect to the RallyPoint service.
Definition at line 2780 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Rallypoint::path |
[Optional, Default: ""] Path to use for the RP connection (only used for WebSocket)
Definition at line 2851 of file ConfigurationObjects.h.
RpProtocol_t AppConfigurationObjects::Rallypoint::protocol |
[Optional, Default: rppTlsTcp] Specifies the protocol to be used for the Rallypoint connection. See RpProtocol_t for all protocol types
Definition at line 2848 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Rallypoint::sni |
[Optional] A user-defined string sent as the Server Name Indication (SNI) field in the TLS setup. Be aware that this data is sent in the clear in the client hello message.
Definition at line 2844 of file ConfigurationObjects.h.
TcpNetworkTxOptions AppConfigurationObjects::Rallypoint::tcpTxOptions |
[Optional] Tx options for the TCP link
Definition at line 2837 of file ConfigurationObjects.h.
int AppConfigurationObjects::Rallypoint::transactionTimeoutMs |
[Optional, Default 10000] Number of milliseconds that a transaction may take before the link is considered broken.
Definition at line 2826 of file ConfigurationObjects.h.
bool AppConfigurationObjects::Rallypoint::verifyPeer |
[Optional, Default true] Indicates whether the connection peer is to be verified by checking the validaity of its X.509 certificate.
Definition at line 2811 of file ConfigurationObjects.h.