blob: cb14f1a63d9cfd4fd0ad9595abfc988093c7d7e6 [file] [log] [blame]
rule
{
id "ENDORSED"
for data
filter
{
type name
regex ^([^<DNS>]*)<DNS><ENDORSED>
}
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
hyper-relation
{
k-regex ^([^<KEY>]*)<KEY><>*$
k-expand \\1
h-relation equal
p-regex ^([^<DNS>]*)<DNS><ENDORSED>
p-expand \\1
}
}
}
}
rule
{
id "ENDORSEE"
for data
filter
{
type name
regex ^([^<DNS>]*)<DNS><><ENDORSEE>
}
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
hyper-relation
{
k-regex ^([^<KEY>]*)<KEY><>*$
k-expand \\1
h-relation equal
p-regex ^([^<DNS>]*)<DNS><><ENDORSEE>
p-expand \\1
}
}
}
}
rule
{
id "PROFILE"
for data
filter
{
type name
regex ^([^<DNS>]*)<DNS><PROFILE>
}
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
hyper-relation
{
k-regex ^([^<KEY>]*)<KEY><>*$
k-expand \\1
h-relation equal
p-regex ^([^<DNS>]*)<DNS><PROFILE>
p-expand \\1
}
}
}
}
rule
{
id "ALL"
for data
filter
{
type name
regex ^(<>*)$
}
checker
{
type customized
sig-type rsa-sha256
key-locator
{
type name
hyper-relation
{
k-regex ^([^<KEY>]*)<KEY><>*$
k-expand \\1
h-relation is-strict-prefix-of
p-regex ^(<>*)$
p-expand \\1
}
}
}
}
trust-anchor
{
type dir
dir "."
}