Class OAuthHmacSigner (1.36.0)

public final class OAuthHmacSigner implements OAuthSigner

Beta
OAuth "HMAC-SHA1" signature method.

Inheritance

java.lang.Object > OAuthHmacSigner

Implements

OAuthSigner

Constructors

OAuthHmacSigner()

public OAuthHmacSigner()

Fields

clientSharedSecret

public String clientSharedSecret

Client-shared secret or null for none.

Field Value
Type Description
String

tokenSharedSecret

public String tokenSharedSecret

Token-shared secret or null for none.

Field Value
Type Description
String

Methods

computeSignature(String signatureBaseString)

public String computeSignature(String signatureBaseString)

Returns the signature computed from the given signature base string.

Parameter
Name Description
signatureBaseString String
Returns
Type Description
String
Exceptions
Type Description
GeneralSecurityException

getSignatureMethod()

public String getSignatureMethod()

Returns the signature method.

Returns
Type Description
String