summaryrefslogtreecommitdiff
path: root/interface-definitions/include/stunnel/psk.xml.i
blob: db11a93d33569ce20331264054f2901dd146fcfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!-- include start from stunnel/psk.xml.i -->
<tagNode name="psk">
  <properties>
    <help>Pre-shared key name</help>
  </properties>
  <children>
    <leafNode name="id">
      <properties>
        <help>ID for authentication</help>
        <valueHelp>
          <format>txt</format>
          <description>ID used for authentication</description>
        </valueHelp>
      </properties>
    </leafNode>
    <leafNode name="secret">
      <properties>
        <help>pre-shared secret key</help>
        <valueHelp>
          <format>txt</format>
          <description>pre-shared secret key are required to be at least 16 bytes long, which implies at least 32 characters for hexadecimal key</description>
        </valueHelp>
        <constraint>
          <validator name="psk-secret"/>
        </constraint>
      </properties>
    </leafNode>
  </children>
</tagNode>
<!-- include end -->