blob: e3f90e6c562c2f2a45a25882ff884b69f5a6850b [file] [log] [blame]
rule
{
id "NDNS Validator"
for data
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
hyper-relation
{
k-regex ^(<>*)<KEY>(<>*)<><ID-CERT>$
k-expand \\1\\2
h-relation is-prefix-of ; data is only allowed to be signed by the zone key
p-regex ^(<>*)[<KEY><NDNS>](<>*)<><>$
p-expand \\1\\2
}
}
}
}
trust-anchor
{
type file
file-name anchors/ndn-testbed-root.ndncert.base64
}