|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.client.auth.oauth.OAuthHmacSigner
public final class OAuthHmacSigner
OAuth "HMAC-SHA1" signature method.
| Field Summary | |
|---|---|
String |
clientSharedSecret
Client-shared secret or null for none. |
String |
tokenSharedSecret
Token-shared secret or null for none. |
| Constructor Summary | |
|---|---|
OAuthHmacSigner()
|
|
| Method Summary | |
|---|---|
String |
computeSignature(String signatureBaseString)
Returns the signature computed from the given signature base string. |
String |
getSignatureMethod()
Returns the signature method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String clientSharedSecret
null for none.
public String tokenSharedSecret
null for none.
| Constructor Detail |
|---|
public OAuthHmacSigner()
| Method Detail |
|---|
public String getSignatureMethod()
OAuthSigner
getSignatureMethod in interface OAuthSigner
public String computeSignature(String signatureBaseString)
throws GeneralSecurityException
OAuthSigner
computeSignature in interface OAuthSignerGeneralSecurityException - general security exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||