public class ConfigRegexChecker extends ConfigChecker
| Constructor and Description |
|---|
ConfigRegexChecker(String regexString) |
| 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 ConfigRegexChecker(String regexString) throws NdnRegexMatcherBase.Error
NdnRegexMatcherBase.Errorprotected 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.