Config file doc generator parsing of RELOFF construct
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
03b8c51332
commit
9481a75e9d
4 changed files with 259 additions and 300 deletions
|
@ -173,39 +173,33 @@ specification.</p></xs:documentation>
|
|||
<xs:element minOccurs="0" name="Library">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.access_control_plugin), pf_string, BLURB("<p>This element
|
||||
specifies the library to be loaded as the DDS Security Access Control
|
||||
plugin.</p></xs:documentation>
|
||||
<p>This element specifies the library to be loaded as the DDS Security
|
||||
Access Control plugin.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element minOccurs="0" name="finalizeFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.access_control_plugin.library_finalize), pf_string,
|
||||
BLURB("<p>This element names the finalization function of Access Control
|
||||
plugin. This function is called to let the plugin release its
|
||||
resources.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" name="initFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.access_control_plugin.library_init), pf_string,
|
||||
BLURB("<p>This element names the initialization function of Access
|
||||
Control plugin. This function is called after loading the plugin library
|
||||
for instantiation purposes. Init function must return an object that
|
||||
implements DDS Security Access Control interface.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" name="path">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.access_control_plugin.library_path), pf_string,
|
||||
BLURB("<p>This element points to the path of Access Control plugin
|
||||
library.</p>
|
||||
<xs:attribute name="finalizeFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element names the finalization function of Access Control plugin.
|
||||
This function is called to let the plugin release its
|
||||
resources.</p><p>The default value is:
|
||||
&quot;finalize_access_control&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="initFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element names the initialization function of Access Control
|
||||
plugin. This function is called after loading the plugin library for
|
||||
instantiation purposes. Init function must return an object that
|
||||
implements DDS Security Access Control interface.</p><p>The default value
|
||||
is: &quot;init_access_control&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="path">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element points to the path of Access Control plugin library.</p>
|
||||
|
||||
<p>It can be either absolute path excluding file extension (
|
||||
/usr/lib/dds_security_ac ) or single file without extension (
|
||||
|
@ -213,11 +207,10 @@ dds_security_ac ).</p>
|
|||
|
||||
<p>If single file is supplied, the library located by way of the current
|
||||
working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for
|
||||
Windows systems.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
Windows systems.</p><p>The default value is:
|
||||
&quot;dds_security_ac&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" ref="config:Permissions"/>
|
||||
|
@ -225,12 +218,11 @@ Windows systems.</p></xs:documentation>
|
|||
</xs:all>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Governance">
|
||||
<xs:element name="Governance" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.access_control_properties.governance), pf_string,
|
||||
BLURB("<p>URI to the shared Governance Document signed by the Permissions
|
||||
CA in S/MIME format</p>
|
||||
<p>URI to the shared Governance Document signed by the Permissions CA in
|
||||
S/MIME format</p>
|
||||
|
||||
<p>URI schemes: file, data</p><br>
|
||||
|
||||
|
@ -276,15 +268,14 @@ boundary="----F9A8A198D6F08E1285A292ADF14DD04F"</p>
|
|||
|
||||
<p>MIIDuAYJKoZIhv ...al5s=</p>
|
||||
|
||||
<p>------F9A8A198D6F08E1285A292ADF14DD04F-]]</Governance></p></xs:documentation>
|
||||
<p>------F9A8A198D6F08E1285A292ADF14DD04F-]]</Governance></p><p>The
|
||||
default value is: &quot;&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="Permissions">
|
||||
<xs:element name="Permissions" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.access_control_properties.permissions), pf_string,
|
||||
BLURB("<p>URI to the DomainParticipant permissions document signed by the
|
||||
<p>URI to the DomainParticipant permissions document signed by the
|
||||
Permissions CA in S/MIME format</p>
|
||||
|
||||
<p>The permissions document specifies the permissions to be applied to a
|
||||
|
@ -298,16 +289,14 @@ domain.</p><br>
|
|||
|
||||
<p>Example data URI:</p>
|
||||
|
||||
<p><Permissions><![CDATA[data:,.........]]</Permissions></p></xs:documentation>
|
||||
<p><Permissions><![CDATA[data:,.........]]</Permissions></p><p>The
|
||||
default value is: &quot;&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="PermissionsCA">
|
||||
<xs:element name="PermissionsCA" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.access_control_properties.permissions_ca), pf_string,
|
||||
BLURB("<p>URI to a X509 certificate for the PermissionsCA in PEM
|
||||
format.</p>
|
||||
<p>URI to a X509 certificate for the PermissionsCA in PEM format.</p>
|
||||
|
||||
<p>Supported URI schemes: file, data</p>
|
||||
|
||||
|
@ -324,9 +313,9 @@ X.509 v3 ITU-T Recommendation X.509 (2005) [39]) in PEM format.</p><br&
|
|||
|
||||
<p>MIIC3DCCAcQCCQCWE5x+Z ... PhovK0mp2ohhRLYI0ZiyYQ==</p>
|
||||
|
||||
<p>-----END CERTIFICATE-----</PermissionsCA></p></xs:documentation>
|
||||
<p>-----END CERTIFICATE-----</PermissionsCA></p><p>The default value is:
|
||||
&quot;&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="Authentication">
|
||||
<xs:annotation>
|
||||
|
@ -336,44 +325,38 @@ specification.</p></xs:documentation>
|
|||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element minOccurs="0" ref="config:IdentityCA"/>
|
||||
<xs:element minOccurs="0" ref="config:IdentityCertificate"/>
|
||||
<xs:element ref="config:IdentityCA"/>
|
||||
<xs:element ref="config:IdentityCertificate"/>
|
||||
<xs:element minOccurs="0" name="Library">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_plugin), pf_string, BLURB("<p>This element
|
||||
specifies the library to be loaded as the DDS Security Access Control
|
||||
plugin.</p></xs:documentation>
|
||||
<p>This element specifies the library to be loaded as the DDS Security
|
||||
Access Control plugin.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element minOccurs="0" name="finalizeFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_plugin.library_finalize), pf_string,
|
||||
BLURB("<p>This element names the finalization function of Authentication
|
||||
plugin. This function is called to let the plugin release its
|
||||
resources.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" name="initFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_plugin.library_init), pf_string,
|
||||
BLURB("<p>This element names the initialization function of
|
||||
Authentication plugin. This function is called after loading the plugin
|
||||
library for instantiation purposes. Init function must return an object
|
||||
that implements DDS Security Authentication interface.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" name="path">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_plugin.library_path), pf_string,
|
||||
BLURB("<p>This element points to the path of Authentication plugin
|
||||
library.</p>
|
||||
<xs:attribute name="finalizeFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element names the finalization function of Authentication plugin.
|
||||
This function is called to let the plugin release its
|
||||
resources.</p><p>The default value is:
|
||||
&quot;finalize_authentication&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="initFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element names the initialization function of Authentication
|
||||
plugin. This function is called after loading the plugin library for
|
||||
instantiation purposes. Init function must return an object that
|
||||
implements DDS Security Authentication interface.</p><p>The default value
|
||||
is: &quot;init_authentication&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="path">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element points to the path of Authentication plugin library.</p>
|
||||
|
||||
<p>It can be either absolute path excluding file extension (
|
||||
/usr/lib/dds_security_auth ) or single file without extension (
|
||||
|
@ -381,25 +364,23 @@ dds_security_auth ).</p>
|
|||
|
||||
<p>If single file is supplied, the library located by way of the current
|
||||
working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for
|
||||
Windows systems.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
Windows systems.</p><p>The default value is:
|
||||
&quot;dds_security_auth&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" ref="config:Password"/>
|
||||
<xs:element minOccurs="0" ref="config:PrivateKey"/>
|
||||
<xs:element ref="config:PrivateKey"/>
|
||||
<xs:element minOccurs="0" ref="config:TrustedCADirectory"/>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="IdentityCA">
|
||||
<xs:element name="IdentityCA" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_properties.identity_ca), pf_string,
|
||||
BLURB("<p>URI to the X509 certificate [39] of the Identity CA that is the
|
||||
signer of Identity Certificate.</p>
|
||||
<p>URI to the X509 certificate [39] of the Identity CA that is the signer
|
||||
of Identity Certificate.</p>
|
||||
|
||||
<p>Supported URI schemes: file, data</p>
|
||||
|
||||
|
@ -416,13 +397,11 @@ MIIC3DCCAcQCCQCWE5x+Z...PhovK0mp2ohhRLYI0ZiyYQ==<br>
|
|||
|
||||
-----END CERTIFICATE-----</IdentityCA></p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="IdentityCertificate">
|
||||
<xs:element name="IdentityCertificate" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_properties.identity_certificate), pf_string,
|
||||
BLURB("<p>Identity certificate that will be used for identifying all
|
||||
<p>Identity certificate that will be used for identifying all
|
||||
participants in the OSPL instance.<br>The content is URI to a X509
|
||||
certificate signed by the IdentityCA in PEM format containing the signed
|
||||
public key.</p>
|
||||
|
@ -439,29 +418,26 @@ MIIDjjCCAnYCCQDCEu9...6rmT87dhTo=<br>
|
|||
|
||||
-----END CERTIFICATE-----</IdentityCertificate></p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="Password">
|
||||
<xs:element name="Password" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_properties.password), pf_string, BLURB("<p>A
|
||||
password used to decrypt the private_key.</p>
|
||||
<p>A password used to decrypt the private_key.</p>
|
||||
|
||||
The value of the password property shall be interpreted as the Base64
|
||||
encoding of the AES-128 key that shall be used to decrypt the private_key
|
||||
using AES128-CBC.</p>
|
||||
|
||||
If the password property is not present, then the value supplied in the
|
||||
private_key property must contain the unencrypted private key. </p></xs:documentation>
|
||||
private_key property must contain the unencrypted private key. </p><p>The
|
||||
default value is: &quot;&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="PrivateKey">
|
||||
<xs:element name="PrivateKey" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_properties.private_key), pf_string,
|
||||
BLURB("<p>URI to access the private Private Key for all of the
|
||||
participants in the OSPL federation.</p>
|
||||
<p>URI to access the private Private Key for all of the participants in
|
||||
the OSPL federation.</p>
|
||||
|
||||
<p>Supported URI schemes: file, data</p>
|
||||
|
||||
|
@ -475,16 +451,13 @@ MIIEpAIBAAKCAQEA3HIh...AOBaaqSV37XBUJg==<br>
|
|||
|
||||
-----END RSA PRIVATE KEY-----</PrivateKey></p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="TrustedCADirectory">
|
||||
<xs:element name="TrustedCADirectory" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.authentication_properties.trusted_ca_dir), pf_string,
|
||||
BLURB("<p>Trusted CA Directory which contains trusted CA certificates as
|
||||
separated files.</p></xs:documentation>
|
||||
<p>Trusted CA Directory which contains trusted CA certificates as
|
||||
separated files.</p><p>The default value is: &quot;&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="Cryptographic">
|
||||
<xs:annotation>
|
||||
|
@ -497,38 +470,32 @@ specification.</p></xs:documentation>
|
|||
<xs:element minOccurs="0" name="Library">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.cryptography_plugin), pf_string, BLURB("<p>This element
|
||||
specifies the library to be loaded as the DDS Security Cryptographic
|
||||
plugin.</p></xs:documentation>
|
||||
<p>This element specifies the library to be loaded as the DDS Security
|
||||
Cryptographic plugin.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element minOccurs="0" name="finalizeFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.cryptography_plugin.library_finalize), pf_string,
|
||||
BLURB("<p>This element names the finalization function of Cryptographic
|
||||
plugin. This function is called to let the plugin release its
|
||||
resources.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" name="initFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.cryptography_plugin.library_init), pf_string, BLURB("<p>This
|
||||
element names the initialization function of Cryptographic plugin. This
|
||||
function is called after loading the plugin library for instantiation
|
||||
purposes. Init function must return an object that implements DDS
|
||||
Security Cryptographic interface.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" name="path">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
RELOFF (cfg.cryptography_plugin.library_path), pf_string, BLURB("<p>This
|
||||
element points to the path of Cryptographic plugin library.</p>
|
||||
<xs:attribute name="finalizeFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element names the finalization function of Cryptographic plugin.
|
||||
This function is called to let the plugin release its
|
||||
resources.</p><p>The default value is: &quot;finalize_crypto&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="initFunction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element names the initialization function of Cryptographic
|
||||
plugin. This function is called after loading the plugin library for
|
||||
instantiation purposes. Init function must return an object that
|
||||
implements DDS Security Cryptographic interface.</p><p>The default value
|
||||
is: &quot;init_crypto&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="path">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<p>This element points to the path of Cryptographic plugin library.</p>
|
||||
|
||||
<p>It can be either absolute path excluding file extension (
|
||||
/usr/lib/dds_security_crypto ) or single file without extension (
|
||||
|
@ -536,11 +503,10 @@ dds_security_crypto ).</p>
|
|||
|
||||
<p>If single file is supplied, the library located by way of the current
|
||||
working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for
|
||||
Windows systems.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
Windows systems.</p><p>The default value is:
|
||||
&quot;dds_security_crypto&quot;.</p></xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue