Calculate HMAC for WBXML document with user pin

361 Views Asked by At

I have created a WBXML document from my SyncML ota configuration XML document. To send this configuration to cellphone I need to encode this document with user-pin which is by default always taken as "1234"

This requires me to calculate HMAC of the WBXML document with the pin "1234". I'm stuck at this and would appreciate any help on this.

I've googled enough but nothing seems to help straight as I need, may be some code might help me.

1

There are 1 best solutions below