![]() |
MHEG5
22.11.0
|
Functions relating to HTTPS Content Verification. More...
Go to the source code of this file.
Enumerations | |
enum | MHEG5ContentVerification_t { CONTENT_NOT_VERIFIED_NEW, CONTENT_NOT_VERIFIED_SAME, CONTENT_VERIFIED_UNSIGNED, CONTENT_VERIFIED_SIGNED, CONTENT_VERIFICATION_PENDING } |
Functions | |
void | MHEG5SetVerificationCallback (void(*callback)(void)) |
Register a callback to be fired when the state of the verification subsystem changes. More... | |
void | MHEG5ResetVerification (void) |
Reset the entire state of the verification mechanism. More... | |
MHEG5ContentVerification_t | MHEG5IsContentVerified (U8BIT *url, U8BIT *content, U32BIT length) |
void | MHEG5ResetHashFile (U8BIT *url) |
Reset the state and clear cache of the hashfile associated with a content file. More... | |
Functions relating to HTTPS Content Verification.
MHEG5ContentVerification_t MHEG5IsContentVerified | ( | U8BIT * | url, |
U8BIT * | content, | ||
U32BIT | length | ||
) |
url | URL of the content to be verified |
content | Pointer to the content to be verified |
length | Size of content in bytes |
url | URL of the content to be verified |
content | Pointer to the content to be verified |
length | Size of content in bytes |
void MHEG5ResetHashFile | ( | U8BIT * | url | ) |
Reset the state and clear cache of the hashfile associated with a content file.
url | URL of content file |
void MHEG5ResetVerification | ( | void | ) |
Reset the entire state of the verification mechanism.
Reset the entire state of the verification mechanism.
void MHEG5SetVerificationCallback | ( | void(*)(void) | callback | ) |
Register a callback to be fired when the state of the verification subsystem changes.
callback | Pointer to the callback function to be used. |
Register a callback to be fired when the state of the verification subsystem changes.
callback | Pointer to the callback function to be used. |