MSRTPAuthentication Class Reference

class MSRTPAuthentication
Public Member Functions
~MSRTPAuthentication()
HBufC8 *AuthenticateL(TUint, const TDesC8 &, const TDesC8 &, const TDesC8 &)

Constructor & Destructor Documentation

~MSRTPAuthentication()

~MSRTPAuthentication()[inline, virtual]

Member Functions Documentation

AuthenticateL(TUint, const TDesC8 &, const TDesC8 &, const TDesC8 &)

HBufC8 *AuthenticateL(TUintaBitLength,
const TDesC8 &aKey,
const TDesC8 &aAuthPortion,
const TDesC8 &aRoc
)[pure virtual]

This function is called by SRTP for authentication/integrity protection to create authentication tag regardless of the algorithm, the default algorith is HMAC-SHA1. Produces authentication tag based on input key and data M. result IS truncated to n_tag leftmost bits

Parameters

TUint aBitLengthauthentication tag length, 32 or 80 bits
const TDesC8 & aKeyauthentication key (n_a)
const TDesC8 & aAuthPortiondata to be integrity protected
const TDesC8 & aRocpacket ROC Returns HBufC8* authentication tag (untruncated)