ndn-js
Version:
A JavaScript client library for Named Data Networking
64 lines (63 loc) • 1.04 kB
Plain Text
validator
{
trust-anchor
{
type dir
dir "policy_config/certs"
refresh 5s
}
rule
{
id "For the encoded data"
for data
filter
{
type name
name /temp
relation is-prefix-of
}
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
name /temp
relation is-strict-prefix-of
}
}
}
rule
{
id "A Rule"
for data
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
name /TestConfigPolicyManager
relation is-strict-prefix-of
}
}
}
rule
{
id "Another Rule"
for interest
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
name /TestConfigPolicyManager
relation is-strict-prefix-of
}
}
}
}