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 ( TUint aBitLength,
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 aBitLength authentication tag length, 32 or 80 bits
const TDesC8 & aKey authentication key (n_a)
const TDesC8 & aAuthPortion data to be integrity protected
const TDesC8 & aRoc packet ROC Returns HBufC8* authentication tag (untruncated)