I'm working on iOS MDM. During enrollment i got deviceToken, PushMagic and unlockToken.
Plan to use [javapns](http://code.google.com/p/javapns/). It expect 64 hex value. 

This is my original Device Token format. It is 32 byte binary value and base64 encoded.

> 
> 54CC9f18PLXag/RgOCtc30o7lC3beG6NruUSE0/vCC0=
> 
> 
> 

Do i need to convert the above format to send notification to APNs via javapns.
If so how to convert encoded device token to 64 char hexadecimal.

Any help will be appreciated.

Thanks in Advance.

Regards,
Vinothkumar.R