Class OAuthHmacSigner (1.32.1)

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
TypeDescription
String

tokenSharedSecret

public String tokenSharedSecret

Token-shared secret or null for none.

Field Value
TypeDescription
String

Methods

computeSignature(String signatureBaseString)

public String computeSignature(String signatureBaseString)

Returns the signature computed from the given signature base string.

Parameter
NameDescription
signatureBaseStringString
Returns
TypeDescription
String
Exceptions
TypeDescription
GeneralSecurityException

getSignatureMethod()

public String getSignatureMethod()

Returns the signature method.

Returns
TypeDescription
String