@Beta public final class OAuthHmacSigner extends Object implements OAuthSigner
Beta "HMAC-SHA1" signature method.| Modifier and Type | Field and Description |
|---|---|
String |
clientSharedSecret
Client-shared secret or
null for none. |
String |
tokenSharedSecret
Token-shared secret or
null for none. |
| Constructor and Description |
|---|
OAuthHmacSigner() |
| Modifier and Type | Method and Description |
|---|---|
String |
computeSignature(String signatureBaseString)
Returns the signature computed from the given signature base string.
|
String |
getSignatureMethod()
Returns the signature method.
|
public String clientSharedSecret
null for none.public String tokenSharedSecret
null for none.public String getSignatureMethod()
OAuthSignergetSignatureMethod in interface OAuthSignerpublic String computeSignature(String signatureBaseString) throws GeneralSecurityException
OAuthSignercomputeSignature in interface OAuthSignerGeneralSecurityException - general security exceptionCopyright © 2011-2017 Google. All Rights Reserved.