A callback interface to allow low-level mechanisms to ask someone else to verify content on their behalf. More...
Public Member Functions | |
boolean | verify (ContentObject content) |
Verify this content object, potentially in the context of other data held by the verifier. |
A callback interface to allow low-level mechanisms to ask someone else to verify content on their behalf.
boolean org.ccnx.ccn.ContentVerifier.verify | ( | ContentObject | content | ) |
Verify this content object, potentially in the context of other data held by the verifier.
This may be a simple signature verification, which might take advantage of cached data, or a more complex trust calculation determining the acceptability of this content for a particular use.
content | the object whose signature we should verify. |
Implemented in org.ccnx.ccn.protocol.ContentObject.SimpleVerifier, and org.ccnx.ccn.test.protocol.LatestVersionTest.TestVerifier.