[][src]Crate gpapi

Modules

apk
consts
protos

Structs

BuildConfiguration
Gpapi
LoginRequest
PubKey
SingularPtrField

Like Option<Box<T>>, but keeps the actual element on clear.

Enums

Endpoint

Play Store API endpoints supported

Constants

STATUS_PURCHASE_ERR
STATUS_PURCHASE_REQD
STATUS_PURCHASE_UNAVAIL

Traits

Message

Trait implemented for all generated structs for protobuf messages. Also, generated messages implement Clone + Default + PartialEq

Functions

base64_urlsafe

Base64 encode w/ URL safe characters.

build_login_request
build_openssl_rsa

Gen up an openssl::rsa::Rsa from a PubKey.

encrypt_login

Handles encrypting your login/password using Google's public key Produces something of the format: |00|4 bytes of sha1(publicKey)|rsaEncrypt(publicKeyPem, "login\x00password")|

parse_form_reply