[Ndn-interest] How to add the SecRuleRelative Rules in validator-regex?
Chengyu Fan
chengy.fan at gmail.com
Fri Feb 27 12:10:39 PST 2015
Hi,
I'm trying to use the validator-regex to validate the incoming data, but I
stuck at how to add the SecRuleRelative Rule.
Can somebody tell me some clues?
Specifically, I find the example in SecurityLibrary(
http://redmine.named-data.net/projects/ndn-cxx/wiki/SecurityLibrary), but I
don't understand the RuleRelative rule below ...
SecRuleRelative rule("^(<>*)$", "^([^<KEY>]*)<KEY>(<>*)<ksk-.*><ID-CERT>$",
">", "\\1", "\\1\\2", true);
What's the meaning of ">", "\\1", "\\1\\2" ? Can someone give me an example?
--
Thanks,
Chengyu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150227/822ed925/attachment.html>
More information about the Ndn-interest
mailing list