Project

General

Profile

CommandValidatorConf » History » Version 2

Yingdi Yu, 03/17/2014 12:47 PM

1 2 Yingdi Yu
Command Validator Config File Format
2 1 Yingdi Yu
====================================
3 2 Yingdi Yu
4
## Example configuration
5
6
    policies
7
    {
8
      policy
9
      {
10
        prefix "/localhost/nrd"
11
        trust_model
12
        {
13
          type hierarchical
14
          anchor-file "trust-anchor.cert"
15
        }
16
      }
17
      policy
18
      {
19
        prefix "/localhost/nfd"
20
        trust-model
21
        {
22
          type fixed
23
          anchor-file "cert1.cert"
24
          anchor-file "cert2.cert"
25
        }
26
      }
27
    }
28
29