MHEG5  15.3.0
source/core/inc/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.
void MHEG5ClearSigCertCache (void)
 Clear the signature certificate cache and all related information.
void MHEG5InvalidateSigCertCache (void)
 Invalidate the certificates in the certificate cache.
void MHEG5SetSigVerifyCallback (void(*callback)(void))
 Sets the callback to be called when pending requests are resolved.

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
 All Data Structures Files Functions Variables Typedefs Defines