How can I decode a file and get its content to my Android app?


Last Updated:

  1. adamhala007

    adamhala007 Member This Topic's Starter

    Joined:
    Jul 18, 2013
    Messages:
    6
    Likes Received:
    0
    Hi!

    I'm beginner in Android programming and I'm working on an Android app, that connects to a .crl file on the Internet and gets some data from it. I need to be able to decode this file (like the ASN.1 JavaScript decoder) and then use the decoded data.

    My question is, how can I access the decoded data from my Android app? Is there some way to reference the decoded text online? Or is there a way, to include the decoder in my Android app?

    Thanks for helping.
     

    Advertisement
  2. Armuro

    Armuro Active Member

    Joined:
    Jul 15, 2013
    Messages:
    30
    Likes Received:
    8
    To decode the file, you first need to know how the file is encoded...
     
  3. adamhala007

    adamhala007 Member This Topic's Starter

    Joined:
    Jul 18, 2013
    Messages:
    6
    Likes Received:
    0
    I don't know exactly how is it encoded, but the webpage which contains the ASN.1 JavaScript decoder says "This page contains a JavaScript generic ASN.1 parser that can decode any valid ASN.1 DER or BER structure whether Base64-encoded (raw base64, PEM armoring and begin-base64 are recognized) or Hex-encoded. "
     

Share This Page

Loading...