Android Application Base 64 Public Key

How do I get (or view) the public key of an Android 64 base? I have a license file and I published my application before.

I need a license key.

+7
source share
3 answers

To add a license to the application, you must obtain the publisher account public key for licensing and copy it into your application. Here's how to find the public key of your account for licensing:

Go to the Google Play publisher site and sign in. Make sure you are logged in to the account from which the application you are licensing is published (or will be published). On the account home page, find the "Edit profile" link and click on it. On the Edit Profile page, locate the Licensing area, as shown below. Your public key for licensing is listed in the Public Key text box.

Source http://developer.android.com/guide/google/play/licensing/adding-licensing.html

0
source

To find the public license key for your application, follow these steps ...

1.) Log in to the Google Play Developer Console where you published the application.

2.) Click on your application in the application list

3.) Click "Developer Tools" on the left menu.

3.) Select "Services and APIs"

4.) In the Licensing and Billing section of the application, you will see the public key

+9
source

Your base64 string could be X509EncodedKeySpec. I can only guess. If so, you must base64 decode the string to get the byte []. Then create an X509EncodedKeySpec from this byte []. Then create an instance of RSA KeyFactory and use the generatePublic () method of this KeyFactory to get the PublicKey. Then this public key can be passed to Cipher.init ()

0
source

All Articles