equal
deleted
inserted
replaced
20 |
20 |
21 #ifndef __SRTP_AUTHENTICATION_HMAC_SHA1_H__ |
21 #ifndef __SRTP_AUTHENTICATION_HMAC_SHA1_H__ |
22 #define __SRTP_AUTHENTICATION_HMAC_SHA1_H__ |
22 #define __SRTP_AUTHENTICATION_HMAC_SHA1_H__ |
23 |
23 |
24 #include "msrtpauthentication.h" |
24 #include "msrtpauthentication.h" |
|
25 |
|
26 class CHMAC; |
25 |
27 |
26 class CSRTPAuthentication_HMAC_SHA1 : public CBase, public MSRTPAuthentication |
28 class CSRTPAuthentication_HMAC_SHA1 : public CBase, public MSRTPAuthentication |
27 { |
29 { |
28 public: |
30 public: |
29 /** |
31 /** |
62 /** |
64 /** |
63 * Default constructor. |
65 * Default constructor. |
64 */ |
66 */ |
65 CSRTPAuthentication_HMAC_SHA1(); |
67 CSRTPAuthentication_HMAC_SHA1(); |
66 |
68 |
67 void ConstructL(); |
69 void ConstructL(); |
|
70 |
|
71 void CreateHmacL(const TDesC8& aKey); |
|
72 |
|
73 private: // data |
|
74 HBufC8* iKey; |
|
75 CHMAC* iHmac; |
68 }; |
76 }; |
69 |
77 |
70 #endif // __SRTP_AUTHENTICATION_HMAC_SHA1_H__ |
78 #endif // __SRTP_AUTHENTICATION_HMAC_SHA1_H__ |
71 |
79 |