How to use "key.der" file?

I know that you need a key.keystore file to sign your applications/games, but how the .DER extension is supposed to work?

Thank you!

Comments

  • nicknick Posts: 186Member, Administrator, Team OUYA
    It's used for IAP signing. Check out the sample in the ODK to see it in use :)
  • ditraboxditrabox Posts: 11Member

    nick said:
    It's used for IAP signing. Check out the sample in the ODK to see it in use :)
    so it is not needed for signing the .apk? (unless i want IAP inside my game)?

    can you please point me where is the documentation for the IAP? THANKS A LOT!
  • KonajuGamesKonajuGames Posts: 560Member
    Purchasing doc on GitHub.
  • ditraboxditrabox Posts: 11Member
    thank you :)
  • nicknick Posts: 186Member, Administrator, Team OUYA
    edited June 2013
    ditrabox said:
    so it is not needed for signing the .apk? (unless i want IAP inside my game)?
    You dont sign your .apk with it at all, IAP or not. It's used within the apk for IAP.
    Post edited by nick on
  • ditraboxditrabox Posts: 11Member
    edited June 2013
    Thank you nick, and do you know how i am suposed to integrate it? Via code
    Post edited by ditrabox on
  • KonajuGamesKonajuGames Posts: 560Member
    It's all described in the purchasing doc I linked above.
  • SpoonThumbSpoonThumb Posts: 426Member
    Actually, just looked at the docs, since I'm doing IAP myself, and it isn't obvious at all.

    If you look at the sample app, the key has already been hard-coded in, but it isn't clear how you get that. In the end, I wrote a helper program in java to read in the key.der file and print the hex values as a string that I could paste into my app
  • EvgizEvgiz Posts: 184Member
    edited June 2013
    Could you create a runnable jar out of that, or preferably describe the method you used?

    Thanks.
    Post edited by Evgiz on

    I made the OUYA exclusive games Cube and Creature and Hellworm!
    evgiz.net




Sign In or Register to comment.