title: Library for generating HMAC-SHA1 OAuth signature on Android?
body: <p>Using the <a href="http://code.google.com/apis/accounts/docs/OAuth_ref.html#SigningOAuth" rel="noreferrer">specifications</a> below I need to create an oauth_signature on Android.  I'm looking for a library that handles the boiler plate code in creating a signature for accessing resources via OAuth.</p>
  
  <blockquote>
    <ol>
    <li><p>Construct a signature "base string", which consists of a concatenation of three request elements:</p>
    
    <ul>
    <li>The HTTP request method.</li>
    <li>The base URL the request is being sent to. This URL should not include any query parameters. When signing calls to Google services, refer to the OAuth specification, Section 9.1.2, for relevant instructions.</li>
    <li>A normalized string of the parameters in the request (excluding the oauth_signature parameter). This includes parameters sent in the request header or body, as well as query parameters added to the request URL. To normalize the string, sort the parameters using lexicographical byte value ordering. For more details on normalizing this string, see Section 9.1.1 of the OAuth specification.</li>
    </ul></li>
    <li><p>Generate an oauth_signature using one of the following sequences:</p>
    
    <ul>
    <li>If your application is registered and you're using HMAC-SHA1, use the OAuth "consumer secret" value generated during registration; this value is displayed on your domain's registration page.</li>
    </ul></li>
    </ol>
  </blockquote>