32 shared_ptr<Regex> signerRegex)
34 , m_dataRegex(dataRegex)
35 , m_signerRegex(signerRegex)
42 , m_dataRegex(dataRegex)
49 , m_dataRegex(rule.m_dataRegex)
50 , m_signerRegex(rule.m_signerRegex)
51 , m_isExempted(rule.m_isExempted)
58 return m_dataRegex->match(data.
getName());
77 return m_signerRegex->match(signerName);
98 bool isSignerMatched = m_isExempted || m_signerRegex->match(signerName);
99 return m_dataRegex->match(dataName) && isSignerMatched;
Copyright (c) 2013-2016 Regents of the University of California.
bool matchDataName(const Data &data)
bool matchSignerName(const Data &data)
bool hasKeyLocator() const
Check if SignatureInfo block has a KeyLocator.
const KeyLocator & getKeyLocator() const
Get KeyLocator.
indicates KeyLocator contains a Name
const Name & getName() const
Get name of the Data packet.
const Name & getName() const
get Name element
Name abstraction to represent an absolute name.
const Signature & getSignature() const
SecRuleSpecific(shared_ptr< Regex > dataRegex, shared_ptr< Regex > signerRegex)
represents an error in TLV encoding or decoding
bool satisfy(const Data &data)