Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Implementing RESTful Service with AMAZON style

Implementing RESTful Service with AMAZON style

Put your problem here if it does not fit any of the other categories.

Implementing RESTful Service with AMAZON style

Postby maxi0361 » Wed Mar 21, 2012 8:04 am

amazon style, read http://www.thebuzzmedia.com/designing-a-secure-rest-api-without-oauth-authentication/
for client side , see Google I/O 2010 http://www.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html

What I have done so far, consume RESTful web service from server side, without any authentication.
So, my next step is to implement authentication like AMAZON.

I use OpenSSL to create the key pair, it is in pem format (text).
Then, I am stuck, I need to store the private key in my android app or file system (SD), then retrieve it, encrypt my request with it and send it out.

My questions are, how do I store it? use KeyStore? I search for it and people load it from JKS/DER file, Android use BKS, so, do I need to generate a BKS using openSSL? or is there a way to store pem format string into KeyStore?
after that, how to use my KeyStore to encrypt String/Text? like KeyStore.GetEncryptStream()?

Please shed some light on this, thank you.
maxi0361
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Mar 21, 2012 7:35 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 8 guests