public class ConfigNameRelationChecker extends ConfigChecker
| Constructor and Description |
|---|
ConfigNameRelationChecker(Name name,
ConfigNameRelation.Relation relation) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkNames(Name packetName,
Name keyLocatorName,
ValidationState state)
Check if the packet name ane KeyLocator name satisfy this checker's
conditions.
|
check, createpublic ConfigNameRelationChecker(Name name, ConfigNameRelation.Relation relation)
protected boolean checkNames(Name packetName, Name keyLocatorName, ValidationState state) throws ValidatorConfigError
ConfigCheckercheckNames in class ConfigCheckerpacketName - The packet name, which is already stripped of signature
components if this is a signed Interest name.keyLocatorName - The KeyLocator's name.state - This calls state.fail() if the packet is invalid.ValidatorConfigErrorCopyright © 2019. All rights reserved.