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