blob: aade06c1d71c6c34643c4219dc8fdbdda83b6e32 [file] [log] [blame]
Alexander Afanasyevd1b6f952021-07-13 15:05:43 -04001rule
2{
3 id "Example rule"
4 for data
5 filter
6 {
7 type name
8 name /example/testApp
9 relation is-prefix-of
10 }
11 checker
12 {
13 type customized
14 sig-type ecdsa-sha256
15 key-locator
16 {
17 type name
18 hyper-relation
19 {
20 k-regex ^(<>*)<KEY><><>?<>?$
21 k-expand \\1
22 h-relation is-prefix-of
23 p-regex ^(<>*)<>*$
24 p-expand \\1
25 }
26 }
27 }
28}
29
30trust-anchor
31{
32 type file
33 file-name "example-trust-anchor.cert"
34}