MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Enumerations | Functions
mh5sig.h File Reference

Functions relating to HTTPS Signature Certificates. More...

#include "mh5base.h"

Go to the source code of this file.

Enumerations

enum  MHEG5SigVerifyStatus_t { MHEG5_SIG_VERIFIED, MHEG5_SIG_NOT_VERIFIED, MHEG5_SIG_CHECK_PENDING }
 

Functions

MHEG5SigVerifyStatus_t MHEG5IsValidSignature (MHEG5String *hash, MHEG5String *signature)
 Check whether the signature is valid. More...
 
void MHEG5ClearSigCertCache (void)
 Clear the signature certificate cache and all related information. More...
 
void MHEG5InvalidateSigCertCache (void)
 Invalidate the certificates in the certificate cache. More...
 
void MHEG5SetSigVerifyCallback (void(*callback)(void))
 Sets the callback to be called when pending requests are resolved. More...
 

Detailed Description

Functions relating to HTTPS Signature Certificates.

Date
22/02/2010
Author
Omri Barel

Function Documentation

void MHEG5ClearSigCertCache ( void  )

Clear the signature certificate cache and all related information.

Returns
Nothing
void MHEG5InvalidateSigCertCache ( void  )

Invalidate the certificates in the certificate cache.

Returns
Nothing
MHEG5SigVerifyStatus_t MHEG5IsValidSignature ( MHEG5String hash,
MHEG5String signature 
)

Check whether the signature is valid.

Parameters
hashHash file contents
signatureSignature file contents
Returns
MHEG5_SIG_VERIFIED MHEG5_SIG_NOT_VERIFIED MHEG5_SIG_CHECK_PENDING
void MHEG5SetSigVerifyCallback ( void(*)(void)  callback)

Sets the callback to be called when pending requests are resolved.

Parameters
callbackCallback function to be called when pending requests are resolved
Returns
Nothing