33   if (!state->getOutcome()) { 
    38     continueValidation(make_shared<CertificateRequest>(klName), state);
    41     state->fail({ValidationError::Code::INVALID_KEY_LOCATOR, 
"Data signing policy violation for " +
    51   if (!state->getOutcome()) { 
    56     continueValidation(make_shared<CertificateRequest>(klName), state);
    59     state->fail({ValidationError::Code::INVALID_KEY_LOCATOR, 
"Interest signing policy violation for " +
 PartialName getPrefix(ssize_t nComponents) const
Returns a prefix of the name. 
const Name & getName() const
Get name. 
bool isPrefixOf(const Name &other) const
Check if this name is a prefix of another name. 
Represents an Interest packet. 
void checkPolicy(const Data &data, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) override
Check data against the policy. 
std::function< void(const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state)> ValidationContinuation
static Name getKeyLocatorName(const SignatureInfo &si, ValidationState &state)
Represents an absolute name. 
const Name & getName() const noexcept
void toUri(std::ostream &os, name::UriFormat format=name::UriFormat::DEFAULT) const
Write URI representation of the name to the output stream. 
Represents a Data packet.