OAuthSigner
@Beta public final class OAuthHmacSigner extends Object implements OAuthSigner
Beta
"HMAC-SHA1"
signature method.Modifier and Type | Field | Description |
---|---|---|
String |
clientSharedSecret |
Client-shared secret or
null for none. |
String |
tokenSharedSecret |
Token-shared secret or
null for none. |
Constructor | Description |
---|---|
OAuthHmacSigner() |
Modifier and Type | Method | 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.