mwkirk / javapns

Test import of svn javapns repo from Google Code
3 stars 0 forks source link

How to convert Device Token to 64 char Hexadecimal Value #78

Closed mwkirk closed 11 years ago

mwkirk commented 11 years ago

Original author: rvinothk...@gmail.com (November 02, 2011 14:30:37)

What steps will reproduce the problem? i'm working for MDM. I have completed the enrollment part. In enrollment part, I got device token,PushMagic and unlockToken value. (token - 32 byte base64 encoded) Plan to use your javaPNS. For testing, i'm using NotificationTest.java. It expect 64 char token value. So my question is how to convert enrollment-device-token( 32 byte base64 encoded) to 64char token.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

javapns_2.0

Please provide any additional information below.

Original issue: http://code.google.com/p/javapns/issues/detail?id=78

mwkirk commented 11 years ago

From sype...@gmail.com on November 02, 2011 15:03:00 There are numerous Base64 encoders out there... Search for "java encode base64" in Google and you will find many.