@Beta public final class OAuthHmacSigner extends Object implements OAuthSigner
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()
OAuthSigner
getSignatureMethod
in interface OAuthSigner
public String computeSignature(String signatureBaseString) throws GeneralSecurityException
OAuthSigner
computeSignature
in interface OAuthSigner
GeneralSecurityException
- general security exceptionCopyright © 2011–2019 Google. All rights reserved.