public class

OAuthHmacSha1Signer

extends Object
implements OAuthSigner
java.lang.Object
   ↳ com.google.gdata.client.authn.oauth.OAuthHmacSha1Signer

Class Overview

Signs strings using HMAC-SHA1.

Summary

Public Constructors
OAuthHmacSha1Signer()
Public Methods
String getSignature(String baseString, OAuthParameters oauthParameters)
Signs the input string using the appropriate signature method.
String getSignatureMethod()
Gets the signature method for this specific implementation.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gdata.client.authn.oauth.OAuthSigner

Public Constructors

public OAuthHmacSha1Signer ()

Public Methods

public String getSignature (String baseString, OAuthParameters oauthParameters)

Signs the input string using the appropriate signature method.

Parameters
baseString The string to sign
oauthParameters The parameters related to the OAuth request or null
Returns
  • the signed string

public String getSignatureMethod ()

Gets the signature method for this specific implementation.

Returns
  • the signature method used to sign the base string