Go to the source code of this file.
◆ ndn_trust_schema_verify_data_name_key_name_pair()
Verify that a key name matches a data name based on a trust schema pattern.
- Parameters
-
rule. | Output. The NDN Trust Schema rule to be used in verifying the data name and key name pair. |
data_name. | Input. The data name which will be checked against the key name based on the pattern. |
key_name. | Input. The name of the key to check the validity of based on the pattern. |
- Returns
- 0 if the key's name is valid for the data's name given the trust schema pattern.