method for calculating oauth signature using hmac/sha -1 method . concode_field_sep String OAUTH_VERSION_1_0 concode_elem_sep String KEY_OAUTH_CONSUMER_KEY concode_elem_sep ConsumerKey consumerAuth concode_elem_sep RequestToken userAuth concode_elem_sep String HEADER_AUTHORIZATION concode_elem_sep String KEY_OAUTH_VERSION concode_elem_sep ThreadSafeHMAC mac concode_elem_sep String KEY_OAUTH_SIGNATURE_METHOD concode_elem_sep String KEY_OAUTH_TOKEN concode_elem_sep ArrayList<Parameter> allParameters concode_elem_sep String KEY_OAUTH_SIGNATURE concode_elem_sep String OAUTH_SIGNATURE_METHOD concode_elem_sep String KEY_OAUTH_NONCE concode_elem_sep String KEY_OAUTH_TIMESTAMP concode_elem_sep String value concode_elem_sep String key concode_elem_sep ThreadLocal<byte[]> NONCE_BUFFER concode_field_sep OAuthParameterSet add concode_elem_sep String constructAuthHeader concode_elem_sep long generateTimestamp concode_elem_sep int compareTo concode_elem_sep StringBuilder signatureBaseString concode_elem_sep String baseUrl concode_elem_sep void calculateAndAddSignature concode_elem_sep String encodedParams concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String generateNonce concode_elem_sep String toString concode_elem_sep String sortAndConcat concode_elem_sep byte[] initialValue concode_elem_sep String value concode_elem_sep String key
String function ( String arg0 , Uri arg1 , long arg2 , String arg3 , List < Param > arg4 , List < Param > arg5 ) { StringBuilder loc0 = signatureBaseString ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 ) ; ByteBuffer loc1 = StringUtils . charSequence2ByteBuffer ( loc0 , UTF_8 ) ; byte [ ] loc2 = mac . digest ( loc1 ) ; return Base64 . encode ( loc2 ) ; }