Files
ndn-cxx/examples/trust-schema.conf
T
2021-12-24 16:44:03 -05:00

35 lines
476 B
Plaintext

rule
{
id "Example rule"
for data
filter
{
type name
name /example/testApp
relation is-prefix-of
}
checker
{
type customized
sig-type ecdsa-sha256
key-locator
{
type name
hyper-relation
{
k-regex ^(<>*)<KEY><><>?<>?$
k-expand \\1
h-relation is-prefix-of
p-regex ^(<>*)<>*$
p-expand \\1
}
}
}
}
trust-anchor
{
type file
file-name "example-trust-anchor.cert"
}